I have 2 boxes, ones for Name, second box is for Email.

They have images inbetween them on the code, so I can't see how to link them as 1 form..

Any ideas?

Recommended Answers

All 3 Replies

wrap it in form tags <form></form> cant be more specific without more information
post the code you are using, then its easy to point at 'there'

Form tags do the trick, here's an example

<form>
	<table>
		<tr>
			<td>Name</td>
			<td><input type="text" name="name"></td>
		</tr>
		<tr>
			<td colspan="2"><img width="200px" height="100px" src="images/myspacer.gif"/></td>
		</tr>
		<tr>
			<td>Email</td>
			<td><input type="text" name="email"></td>
		</tr>				
	</table>
</form>

Then just add an action to it

<form method="post" action="includes/process.php">

You can use table, for this

I have 2 boxes, ones for Name, second box is for Email.

They have images inbetween them on the code, so I can't see how to link them as 1 form..

Any ideas?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.