Board index   FAQ   Search  
Register  Login
Board index php forum :: Database mySQL & php coding

Error message...

Codes here !

Moderators: macek, egami, gesf

Error message...

Postby foot123 » Wed Feb 26, 2003 12:01 pm

Anybody knows what this mean???

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in d:\wwwroot\web2\admin\portifolio\grava_portifolio.php on line 27


ps:- This is the sql:

INSERT INTO portifolio
(descricao_arq,link_arq,tipo_arq,img_arq)
VALUES
($descricao,$link,$tipo,$upload)

-------------------------------------------------
where $upload is a gif file.

Thanx!
foot123
New php-forum User
New php-forum User
 
Posts: 14
Joined: Wed Nov 06, 2002 4:39 pm

Postby Redcircle » Wed Feb 26, 2003 12:05 pm

usually means that you spelled something wrong either in the query or variables.
User avatar
Redcircle
Moderator
Moderator
 
Posts: 830
Joined: Tue Jan 21, 2003 10:42 pm
Location: Michigan USA

Thx!

Postby foot123 » Thu Feb 27, 2003 4:35 am

Thanx Redcircle i found the error in the image variable.
foot123
New php-forum User
New php-forum User
 
Posts: 14
Joined: Wed Nov 06, 2002 4:39 pm


Return to mySQL & php coding

Who is online

Users browsing this forum: No registered users and 3 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.