Jump to content

smart

Members
  • Posts

    24
  • Joined

  • Last visited

Posts posted by smart

  1. In my index.php i have included adminheader.php and in adminheader.php page i have included my connection.php file it's not working i can fetch the data in my index.php pageBut when i use mysql_real_escape_string() it's now working.

  2. when i connect the database connection file like this require("adminheader.php") it's not working but when i write php code in the same pagemysql_connect("localhost","root","") or die ("could not connect to mysql");mysql_select_db("cabinatecart") or die ("no database"); above the file then it works.why

×
×
  • Create New...