Solved

I want all the data to be on the same line

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Generating table dynamically is the most common issue faced by php developers.... So it seems there is a need of an article that explains the basic concept of generating tables dynamically. It just requires a basic knowledge of html and little maths…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

830 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