Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

I want all the data to be on the same line

Posted on 2011-03-09
3
Medium Priority
?
332 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: 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

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
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 dynamically set the form action using jQuery.

688 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