with this code :
$ordine = "IDlink DESC"
querysudb1 = web.query("SELECT IDlink FROM Links WHERE a = 1 ORDER BY
$ordine LIMIT 0,10", vars = locals())
...rows are always returned with default order (IDlink ASC). It seems
that webpy only takes the first word of my string $ordine (ie if I
write $ordine = "IDlink dfkuhsdkfsldf", mysql doesn't give me any
error).
How can I fix it ?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---