PROBLEM can retrieve data but not insert data?!!
Posted: Fri Feb 27, 2004 8:30 pm
Hi,
I'm new to PHP, and am having MASSIVE problems trying to insert data into my mysql tables.
The tables and code im using has been provided by an online tutorial, and I'm using SQL Yog to view my tables - to see if data has been added to them.
The code has been checked by a friend on another computer, and he said the code and databases work fine.
From this, we've deducted it must be a configuration problem on my computer....maybe?
But for some reason I can retrieve and display information from the tables...but i just can't add data to it?!!!!!
VEry frustrating!!!
I have allowed global variables in the php.ini files....I can't really think what else I can do!!
Any ideas anyone?
I'm new to PHP, and am having MASSIVE problems trying to insert data into my mysql tables.
The tables and code im using has been provided by an online tutorial, and I'm using SQL Yog to view my tables - to see if data has been added to them.
The code has been checked by a friend on another computer, and he said the code and databases work fine.
From this, we've deducted it must be a configuration problem on my computer....maybe?
But for some reason I can retrieve and display information from the tables...but i just can't add data to it?!!!!!
VEry frustrating!!!
I have allowed global variables in the php.ini files....I can't really think what else I can do!!
Any ideas anyone?