Error message...

Codes here !

Moderators: macek, egami, gesf

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

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!

User avatar
Redcircle
Moderator
Moderator
Posts: 830
Joined: Tue Jan 21, 2003 10:42 pm
Location: Michigan USA
Contact:

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

usually means that you spelled something wrong either in the query or variables.

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

Thx!

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

Thanx Redcircle i found the error in the image variable.


Return to “mySQL & php coding”

Who is online

Users browsing this forum: No registered users and 2 guests