MySQL Forums
Forum List  »  Newbie

Re: How can it be done - plus sign in query
Posted by: Matlak Sandor
Date: June 17, 2005 08:08AM

in php

$querystring = "SELECT * FROM `main` WHERE origin='" . $_GET["origin"] . "' and type='" . $_GET["type"] . "' ORDER BY type;" ;

if the $_GET["type"] is 3+2, it doesn't select anything, but with others works well. i can't figure it out :)

Options: ReplyQuote


Subject
Written By
Posted
Re: How can it be done - plus sign in query
June 17, 2005 08:08AM


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.