04-22-2008, 01:20 AM
|
#6 (permalink)
|
|
The Prestige
Join Date: Dec 2007
Posts: 1,044
Thanks: 193
|
Quote:
Originally Posted by sarmenhb
thanks orc for that, i put it as $_FILES now
and when i upload it it looks like it worked.
but i look in the table and nothing is there
so now im confused to why it wont work.
|
thats cause you didn't specify what columns to put the data in, like so:
Code:
INSERT INTO `table (col1,col2) VALUES('col1','col2 value');
you should add a or die(mysql_error()); to the end of mysql_query()
__________________
VillageIdiot can have my babbies ;d
|
|
|
|