PROBLEM can retrieve data but not insert data?!!

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
forgodsake8
Forum Newbie
Posts: 9
Joined: Fri Feb 27, 2004 8:30 pm

PROBLEM can retrieve data but not insert data?!!

Post by forgodsake8 »

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?
User avatar
tim
DevNet Resident
Posts: 1165
Joined: Thu Feb 12, 2004 7:19 pm
Location: ohio

Post by tim »

to start, how about seeing some code?
Post Reply