List
i have the following code. where i making a query using env
variable.but is not working. the value on $var is valid value. any
idea how can i make it work?
Luis
$_GET = $GLOBALS['HTTP_GET_VARS'];
$var=$_GET['search_engine'];
if (!empty($var))
{
print $var;
$query=SELECT frases FROM frases
Without knowing the actual value of $var, it's hard to say.
Assuming the table 'frases' has the requisite fields (frases, palabras)
and your sql is indeed returning any results (are you trying to match
exactly, or do you mean to do palabras like '%$var%' instead of
palabras='$var' ?) - the only