Hi all
I have been looking at the following upside down and sideways for a day now.
I have a PHP page that is making use of a session value in an SQL query. The query requires an integer (it's searching on the numeric index of a table in the database). The session value is coming over as a string but is in the form 1 or 77 or 234 and so on.
The problem is that when I try to convert the session value to an integer it is always getting converted to a zero integer.
I have tried every combination of int, intval etc etc until I am blue in the face - any clues would be appreciated
Graeme