Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by rcubed

  1. rcubed

    Cannot understand sessions

    dude.. "You are the Man" Thank you very much!!!
  2. rcubed

    Cannot understand sessions

    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?
  3. rcubed

    Cannot understand sessions

    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?
  4. rcubed

    Cannot understand sessions

    print $sql; at that point displays nothing... I am guessing because the function only returns the output...
  5. rcubed

    Cannot understand sessions

    I am just getting started with php, so I'm not sure.. How would I display $sql
  6. rcubed

    Cannot understand sessions

    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...
  7. rcubed

    Redirecting to url

    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...

Part and Inventory Search

Back
Top