Search results

  1. krahny

    php Can't connect to local MySQL server through socket

    My code was going fine until, for no apparent reason, this warning message appeared. I think there is something wrong with the database connection. Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) in...
  2. krahny

    php Warning: Cannot modify header information

    Thanks for the help, I have now solved the problem.;)
  3. krahny

    php Warning: Cannot modify header information

    Hey, I have this code in php: setcookie("remember",$_POST[username],$expire); This keeps appearing on the page: Warning: Cannot modify header information - headers already sent by (output started at /home/krahny/public_html/login.php:16) in /home/krahny/public_html/login.php on line I cant...
  4. krahny

    Someone please help me with sql

    Thanks! Thanks for your help! That code descalzo gave me worked Great!! :biggrin:
  5. krahny

    Someone please help me with sql

    I know that code, but I need to know what it returns if it finds no match to the value. Thanks anyway.
  6. krahny

    Someone please help me with sql

    I was wondering if anyone knows what the sql select command will return in a query if it finds no match. Or, maybe there's a way to check if a record exists with a certain value. Somone please help.
Top