Soldato
- Joined
- 12 Feb 2006
- Posts
- 17,427
- Location
- Surrey
firstly i need help with the php form i have set up. i thought it was going to work but it appears not
here is the html code:
and the php file:
it doesn't work and how no idea why. This is my first php
ok now secondly trying get a photogallery to have thumbnails on the right and when you hover over them they load the image bigger with some text on the left. I have nearly completed it, the only problem im having is the images don't load in the correct place.
here is the site: http://ride.0taxi.com/addy010/art2.html (if you change page you wont be able to go back to that art page as isn't number 2)
anyone with any knowldge on how i'd sort this out?
[EDIT]
forgot to say that the following link is where the code came from, and i have altered it to fit mine, though not much, yet mine doesn't work.
http://www.webreference.com/programming/css_gallery/index.html
here is the html code:
<form method="post" action="contact.php" >
<table>
<tr>
<td><p><b>Name :</b></p></td>
</tr>
<tr>
<td><input type="text" name="name" style="width:300px"/></td>
</tr>
<tr>
<td><p><b>Email Address :</b></p></td>
</tr>
<tr>
<td><input type="text" name="email" style="width:300px"/></td>
</tr>
<tr>
<td><p><b>Phone :</b></p></td>
</tr>
<tr>
<td><input type="text" name="phone" style="width:300px"/></td>
</tr>
<tr>
<td valign="top"><p><b>Enquiry :</b></p></td>
</tr>
<tr>
<td><textarea name="enquiry" style="width:300px" rows="5" cols="20"></textarea></td>
</tr>
<tr>
<td align="left"><p><b>Prefered method of contact:</b></p></td>
</tr>
<tr>
<td>
<input type="checkbox" name="contact" value="phone"/>
Telephone
<input type="checkbox" name="contact" value="email"/>
</td>
</tr>
<tr>
<td colspan="2" align="center"><input type="submit" value="Submit"/></td>
</tr>
</table>
</form>
and the php file:
<html>
<body text="#000000" leftmargin="150" topmargin="20">
<?php
$emailadd = "[email protected]";
/*Edit the text below ( beginning with <div> and ending with </div> ) to the message of your choice
*/
$successmsg = <<<EOD
<div align = 'center'><p><br>
<h2>The Message was sent</h2><br>
<h3>We will contact you soon</h3><br>
<h3><a href="index.html">HOME</a></h3>
</p>
</div>
EOD;
?>
</body>
</html>
it doesn't work and how no idea why. This is my first php
ok now secondly trying get a photogallery to have thumbnails on the right and when you hover over them they load the image bigger with some text on the left. I have nearly completed it, the only problem im having is the images don't load in the correct place.
here is the site: http://ride.0taxi.com/addy010/art2.html (if you change page you wont be able to go back to that art page as isn't number 2)
anyone with any knowldge on how i'd sort this out?
[EDIT]
forgot to say that the following link is where the code came from, and i have altered it to fit mine, though not much, yet mine doesn't work.
http://www.webreference.com/programming/css_gallery/index.html
Last edited: