Thanks.. never thought about looking there.. the following is what is shown in source:
select customer_id from customer where loginname= ''
Why is the $logname empty?
It seems as if the session variable $logname is not available at the time of the query but it is available on the 4th line when it is echo....Why would I be able to see the variable at first but not when I run the function build_dropdown?
Can someone please help me understand why I cannot query the database using a session variable? The code below will work properly if I change the $logname to a value that I know exist in the database, but when using the session variable $logname,,, it does not appear to work. The session...
I have a form that prompts for username and password and does a mysql query to verify and pulls a url from a field in the database and then I want to send the logged in person to this url. Itried this but does not seem to work:
header (location: "$url")
What is wrong with this...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.