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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. evillazydwarf

    Trying to count the number of rows in a result set after query

    I've swapped the "=" for "LIKE" in the SQL statement and it seems to work ?? no idea why...
  2. evillazydwarf

    Trying to count the number of rows in a result set after query

    thanks for taking the time to help guys, the SQL statement comes out as you said Andrew select * from users where username = 'Fred' and i am only interested in the count at this point so i will try the select count... idea but this code should still work should it not? also all this code...
  3. evillazydwarf

    Trying to count the number of rows in a result set after query

    Hi guys, apologies if this is something silly i'm still quite new to MySQL so here goes... the user fills out this form to sign up to the website, the form checks the database to see if the username has already been taken with the code: $conn = mysql_connect("localhost:3306", "root"...
  4. evillazydwarf

    Session variables dont seem to be working as expected

    it was indeed a permissions issue, its fixed now and working fine thanks again guys :)
  5. evillazydwarf

    Session variables dont seem to be working as expected

    im just looking into it now and these directories dont exist? should i create them? or is easier to point them somewhere else?
  6. evillazydwarf

    Session variables dont seem to be working as expected

    very sorry... posted the wrong info i was looking at the wrong php.ini ; Default timeout for socket based streams (seconds) default_socket_timeout = 600 upload_tmp_dir="C:\DOCUME~1\Ben\LOCALS~1\Temp\php\session" session.save_path="C:\DOCUME~1\Ben\LOCALS~1\Temp\php\upload" cgi.force_redirect=0...
  7. evillazydwarf

    Session variables dont seem to be working as expected

    thanks for taking the time to reply, I tried: session_write_close(); gave the same results, get bounced straight back to the login page. so tried the test with test_a.php and test_b.php and i get a couple of interesting looking errors first: PHP Warning: session_start()...
  8. evillazydwarf

    Session variables dont seem to be working as expected

    I'm quite new to php and i;m struggling, i'm trying to write a simple login section which checks a username and a password against a database and then either redirects you to the main website (if details are correct) or back to the login page (if incorrect) I've got a simple html form which...

Part and Inventory Search

Back
Top