Re: problem with variables
pipo surber wrote:
> hi! i have a problem with my script,
This is a forum about MySQL, not PHP. There is a specific PHP forum in the "Computer Languages" section.
> but when i try to put the variable in the query, -to insert the message in
> the database- the variable stayed and he doesnt
> receive the value of the post.
> ...
> $Queryins = 'INSERT INTO data '.'(mensaje)'.'VALUES ("$mensaje2");' ;
Try rearranging the quotes, i.e.:
"VALUES('$mensaje2');" instead of 'VALUES ("$mensaje2");'
--
felix
Subject
Written By
Posted
Re: problem with variables
April 28, 2005 05:47AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.