You aren't meeting your first test: if ($_POST['submit']) { Your form button's name isn't "submit": <INPUT type=submit name="send" value="click to send" class="sendbutton"> Try it with if ($_POST['send']) { and see if it doesn't wok better. You don't apparently need the extract($_POST); line as you seem to have globals turned on. -m On Feb 6, 2006, at 11:00 AM, Chris wrote: > Hi Inung, been on this for a quite a while now, > and can't seem to find what's causing the problem, > on the page below, the error message should appear > in the left hand column, but nothings appearing > there at all, I'm not sure if the code would > appear here correctly, so the code is also on the > link below. > > Any help much appreciated. > > Chris > > The form: > http://www.130605.com/7/ > > The code: > http://www.130605.com/7.phps > > >> -----Original Message----- >> From: php-objects@xxxxxxxxxxxxxxx [mailto:php- >> objects@xxxxxxxxxxxxxxx] On Behalf Of inoeng >> Sent: Monday, February 06, 2006 6:09 AM >> To: php-objects@xxxxxxxxxxxxxxx >> Subject: RE: How do you make a > form >> unusable by spammers please? >> >> chris, >> >> line 95: include_once ('connect_dr.inc'); >> >> put your connect_dr.inc file in the same > directory >> with the 2.php file. >> >> ~inung; > > > > > > PHP Data object relational mapping generator > http://www.metastorage.net/ > Yahoo! Groups Links > > > > > > > PHP Data object relational mapping generator http://www.metastorage.net/ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-objects/ <*> To unsubscribe from this group, send an email to: php-objects-unsubscribe@xxxxxxxxxxxxxxx <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/