Warning: fread(): supplied argument is not a valid stream resource
View Single Post
04-22-2008, 01:20 AM
Join Date: Dec 2007
Originally Posted by
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:
INSERT INTO `table (col1,col2) VALUES('col1','col2 value');
you should add a or die(mysql_error()); to the end of mysql_query()
"The reasonable man adapts himself to the conditions that surround him... The unreasonable man adapts surrounding conditions to himself... All progress depends on the unreasonable man." - George Bernard Shaw
View Public Profile
Send a private message to Orc
Visit Orc's homepage!
Find More Posts by Orc