Click to See Complete Forum and Search --> : help with syntax please


USER4FUN
02-12-2006, 09:11 AM
what do i need to finish this off

Thank you all

<code>
<html>
<body>
<form>
<input type="text" name="NewEmail" size="20"><input type="submit" value="Submit" name="JoinList">
</form>

<?
// I am sure i need more code here

INSERT INTO tblNewsLetter (Email)
VALUES ('NewEmail from the textbox in the form')
?>
</body>


</html>
</code>

chazzy
02-12-2006, 09:22 AM
it all depends on what server side language you're using. I'd recommend looking in one of their forums.

but in the jist of it, you need to:
connect to the database
issue your query
verify that the query worked.