Hi there,
I am working on (I think) the latest XAMPP version with an Apache/2.2.2 (Win 32) and a Php/4.4.2 version. Have to use Php 4.4.2 to develop HTML/Php code, as the final host hasn't upgraded to Php 5 yet.
Plus I took care to double-check I have register_globals set to "off" in my C:\Program Files\xampp\apache\bin\php.ini.
Now, the silly problem I face currently is on my local installation, every manoeuver I try in my code to either INSERT or UPDATE a row in a perfectly regular table fails without delivering any error message whatsoever. All fields to be filled up are varchar, no fancy stuff about that.
I use the regular pair :
mysql_query($sql,$connect);
if(mysql_affected_rows()){
$r = $_POST['name_first']." ".$_POST['name_nick']." ". $_POST['name_last'];
$r = "Record ".$r." has been added";}
else{
die('SQL Error !'.$sql.'mysql_error());}
in each INSERT or UPDATE case. The end result is it goes smoothly through the instructions, yet the code won't achieve what it is prescribed to do. AND I don't get the table modified.
I leafed through any *.ini and *.conf file I could think of, starting from \xampp downward without success up to now.
Anybody got any bright idea 'bout where to search a solution?
Thanks in advance.