[PHP] PHP form help

2003-02-19 Thread Steven M
the script works because i submitted info to is successfully before i changed the form action to point at the confirmation page. I think it has something to do with PHP sessions but am not sure how to make it work. Thanks for any help. Steven M -- PHP General Mailing List (http://www.php.net

Re: [PHP] PHP form help

2003-02-19 Thread Steven M
Hi Johnathan Thanks I've got it now, hidden fields did the trick. :-) Steven M Jonathan Villa [EMAIL PROTECTED] wrote in message 004301c2d851$24ac2fd0$8600a8c0@inhocvince">news:004301c2d851$24ac2fd0$8600a8c0@inhocvince... How is the information being kept? Sessions? You'll eit

Re: [PHP] PHP form help

2003-02-19 Thread Steven M
Thanks Ray but i've found the problem and sorted it. :-) Steven M -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP/MySQL help?

2003-01-12 Thread Steven M
really would appreciate any help with this as i am a newbie to MySQL and PHP and am finding it a really steep learning curve. Thanks. Steven M --- include 'db.php'; $result = mysql_query(SELECT newtest FROM users WHERE 14 = '$0'); list($number

Re: [PHP] PHP/MySQL help?

2003-01-12 Thread Steven M
s:[EMAIL PROTECTED]... Hi Steven, On Sunday 12 January 2003 23:58, Steven M wrote: include 'db.php'; $result = mysql_query(SELECT newtest FROM users WHERE 14 = '$0'); list($number) = mysql_fetch_row($result); Here you are closing your conenction to the MySQL-Server: mysql_close(); if($n

Re: [PHP] PHP/MySQL help?

2003-01-12 Thread Steven M
. Steven M include 'db.php'; $result = mysql_query(SELECT newtest FROM users WHERE newtest = '$0'); list($number) = mysql_fetch_row($result); if($number==0) {mysql_query(UPDATE users SET points = '$+2' WHERE newtest = '$0'); mysql_query(UPDATE users SET newtest = '$1' WHERE newtest = '$0'); header

Re: [PHP] PHP/MySQL help?

2003-01-12 Thread Steven M
Oops...many thanks for that. Sorry, i am extremely new to this. Best wishes. Steven M -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP/MySQL Query

2002-12-15 Thread Steven M
How do i make a form that will allow me to add 2 to the value of a MySQL field? I am trying to change it from 75 to 77. Is this possible? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP/MySQL Query

2002-12-15 Thread Steven M
Leif Many thanks for that, your help is much appreciated. *smiles* Steven M -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Can anyone help? PHP script/MySQL problem

2002-12-10 Thread Steven M
Hi, i am trying to create a member login/authentication script to automatically send newly signed up people an email with a confirmation link. I am following a tutorial: http://www.phpfreaks.com/tutorials/40/0.php My form is located at: http://www.tricia-marwick.co.uk/members/join_form.php The

Re: [PHP] Can anyone help? PHP script/MySQL problem

2002-12-10 Thread Steven M
Hi Rich The prob is that the data isn't stored into the database as it should be and the user doesn't get an email back with their data. It seems to get lost before reaching the database, meaning the rest of it wont work, and i don't know why. Thanks Steven M -- PHP General Mailing List

Re: [PHP] Can anyone help? PHP script/MySQL problem

2002-12-10 Thread Steven M
there should have been if you filled in the form. If it was working fine you would recieve an email automatically at the address you specified. If you have any ideas what's wrong i'd love to hear them. Steven M Rich Gray [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]