The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

PHP Form, is it possible to line up two fields?

Hi all,
I would like to create a form page that I will be able to collect a lot of information from the user. But I would like the form to look something like this:

Code:

Model # [ ] Serial # [ ]
Room # [ ] Tracking # [ ]

Each [ ] is one field. I would like to have two fields lined up on one line instead of everything looks like this:

Code:

Model # [ ]
Serial # [ ]
Room # [ ]
Tracking # [ ]

When it gets submitted to email, I would also like it to be in the format where two fields are on one line. Is it possible? I have tried so many different free php form generators and even attempt to modify some.. but due to my lack of php knowledge, I keep failing :/ I need to get it done as soon as possible =|

To change the way the emails are formatted would need modification to the actual php script that processes the form. Probably not hard to do though. If you post the part of the script that prepares the email data should be able to show you what to change.

Awesome! It totally works! One last question >_> (So sorry for bothering) Is it possible to use HTML code there? I tried to use HTML code, but it shows up as the code itself. I am trying to space them out evenly. Hitting "space bar" sort of works.. but I would love to have them in a table layout format if possible.