![]() |
|
#1
|
|||
|
|||
RE: Sessions stuff for a confused programmerHi all i have a problem with my coding, i have just started messing around with sessions and have come up with a /biggish problem that i am stumped on. The problem is, is i have got some variables and put them in the sessions buffer from a page which would be viewed about 2 pages previous to this one (part of a web page modification system). I then call these variables into a .php form and processes them as part of the WHERE conditions in an update table, the problem is that because the syntax for the sessions variables is :
PHP Code:
when i put this into the sql query statement it will not allow me to add the quotes at the end of thestatement like so below : PHP Code:
if i leave off the highlighted " to close the query it obviously has a go at me but when i put it on it chucks a parse error at me Has anyone got any ideas? Here is the full script below : ----------------- PHP Code:
|
|
#2
|
||||
|
||||
|
Hello Dagma20,
I have it set up in this forum that regular BBCodes are not parsed inside CODE type bb codes. back to your issue - Try this and see if it works... I don't know if you were type-casting when you created the session variables so I will guess NOT. PHP Code:
__________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
Recent GIDBlog
Writing a book by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The