Query Problem

Status
Not open for further replies.
A

Anonymous

Guest
The query is mentioned belowand its gve error like
Notice: Undefined variable: restrict_ticket in c:\Inetpub\wwwroot\phpticket2\functions.inc.php on line 129

$query = "SELECT *,UNIX_TIMESTAMP(problemstart) AS problemstart,UNIX_TIMESTAMP(problemend) AS problemend,UNIX_TIMESTAMP(date) AS date FROM $GLOBALS[mysql_prefix]ticket WHERE $sort_by_field='$sort_value' $restrict_ticket ORDER BY $order_by";


Plz check and help me :help:
 
You need to give $restrict_ticket a value... currently it hasn't got one.

Show us some more code please.

Coditor
 
salman1karim, please don't cross-posts!
Next time all duplicated topics will be deleted.
Topic locked.
 
Status
Not open for further replies.
Back
Top