Thank's for your helpful response, I've tried placing the $userid variable in a function and calling it but the value that is sent is still null.
Originally Posted by Mindzai
If on the other hand I specify a value above the function call like in your example:
$userid = 66;
Then the value 66 is inserted in the database.
But the value that I am trying to insert isn't a specific value like 66, rather it has been taken from the database and stored in a variable ($userid).
Is it possible for you to show me what the code would look like, based on my code for inserting value from the variable $userid in to the database?
- The insert query is in function SaveItem()
Users Browsing this Thread
There are currently 2 users browsing this thread. (0 members and 2 guests)
Tags for this Thread