Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

I want all the data to be on the same line

Posted on 2011-03-09
3
Medium Priority
?
336 Views
Last Modified: 2012-05-11
echo '<h2><b><a href="products.php">Back to all products</a> <img src="arrowsmall.gif" width="50px">'. $foldername.' Folder <img src="arrowsmall.gif" width="50px">';
echo '<form action="products.php?a=vpf&fid='.$folderid.'" method="POST">';
echo'<input type="submit" name="submit" value="Save New FolderID(s)" /></b></h2>';



why is the submit button on line2
I want all the data to be on the same line



0
Comment
Question by:rgb192
3 Comments
 
LVL 9

Accepted Solution

by:
Scottyworld earned 2000 total points
ID: 35088286
swap your first and second lines, so it now reads :

echo '<form action="products.php?a=vpf&fid='.$folderid.'" method="POST">';
echo '<h2><b><a href="products.php">Back to all products</a> <img src="arrowsmall.gif" width="50px">'. $foldername.' Folder <img src="arrowsmall.gif" width="50px">';
echo'<input type="submit" name="submit" value="Save New FolderID(s)" /></b></h2>';

Open in new window

0
 
LVL 2

Expert Comment

by:Cybervanes
ID: 35088303
have you tried?

echo '<form action="products.php?a=vpf&fid='.$folderid.'" method="POST">'.'<input type="submit" name="submit" value="Save New FolderID(s)" /></b></h2>';
0
 

Author Closing Comment

by:rgb192
ID: 35089256
thanks
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
There are times when I have encountered the need to decompress a response from a PHP request. This is how it's done, but you must have control of the request and you can set the Accept-Encoding header.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Suggested Courses

782 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question