Solved

I want all the data to be on the same line

Posted on 2011-03-09
3
294 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 500 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
This article discusses how to create an extensible mechanism for linked drop downs.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to count occurrences of each item in an array.

911 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now