Hi guys,
I have a strange ultra weird problem here🙂
I have a signup script that I made and worked fine untill I moved it to other server. The problem is that mysql database that needs to be updated, doesnt get updated:p
I have 3 steps, data is saved in hidden values of html, and in the end it posts to update.php witch gets all the data with $_POST[field], and then tries to update the DB. Weirdest thing is that it sucessfully goes to the last page, not reporting me any kind of errors. I've setuped E_ALL but still, doesnt show any error, it behaves that everything is OK. The MySQL connection is ok, it selects the DB, but doesnt update it. I use:
$sql = "insert into user values('','$first','$last','$address'...etc then
mysql_query($sql);
@mysql_close($this->frist);
and headers are updated with "finish" page. I use Php 4.2.2 and MySQL 3.23.58 on RH 9(1.7GHz, 512mb ram, 80gb hdd). I tried to find solution on this forum, and I have found this link:
http://www.phpbuilder.com/board/showthread.php?s=&threadid=10272830
but that is not my error because the connection is OK. This is all I could find regarding this issue. I hope someone will help🙂
Btw, forgot to say, that this all worked like a charm untill I have moved it to the other server.
Regards,
Robert