I have this problem i try to query some values selecting an specific value that is in the url i have this sintaxs but it doesn't work the code is:
$result = mysql_query("SELECT * FROM hoteles
WHERE hotel_destino=$_GET ["destino"]);
am i missing something? Please help.
Problems with query and get
Moderator: General Moderators
-
reddurango
- Forum Newbie
- Posts: 13
- Joined: Sun Aug 16, 2009 9:17 am
Re: Problems with query and get
Ok i could solve it, i just use a new variable to get the value and use it on the query. Thanks