Search results

  1. A

    fragment code when php uploaded

    i uploaded this php script in my xhosting public_html how come i have this fragment error if open list.php BMK Automobile PArts Seach for: in Part Number Part Name Description "; $Row = $QueryResult->fetch_row(); do { echo "{$Row[0]}"; echo "{$Row[1]}"; echo "{$Row[2]}"; echo...
  2. A

    Help me connect to my MYSQL

    heres my code: dbconnect.php <? $DBConnect = mysqli_connect("localhost", "acellec", "15556"); $DBConnect->select_db("acellec_automobileparts"); $QueryResult = $DBConnect->query($SQLstring) Or die("<p>Unable to execute the query.</p>"."<p>Error code "...
  3. A

    Help me connect to my MYSQL

    sorry to mislead you... i always have that code fragment.. but when i use my computer to test the code using my localhost phpadmin its doing ok.. but when i upload my php script and add database in my cpanel xhosting... ihave that error my cpanel user name is acellec my database name is...
  4. A

    search mysql

    thanks i got it i should be using post instead.. can you help me again.. how come i cannot display my mysql dbase using this code in my xhosting freeweb ..public_html my username in my cpanel is acellec my dbconnect.php code is like this <? $DBConnect = mysqli_connect("localhost"...
  5. A

    search mysql

    i have this to display mysql database <body> <h1>BMK Automobile PArts</h1> <h2>Search</h2> <form name="search" method="post" action="search.php"> Seach for: <input type="text" name="find" /> in <Select NAME="field"> <Option VALUE="Pno">First Name</option> <Option VALUE="Pname">Last...
  6. A

    Help me connect to my MYSQL

    hello.. i changed my code and i have this <body> <h1>Address Book</h1> <p><a href="insert.php">Insert Data</a></p> <? $TableName = "automobileparts"; $SQLstring = "SELECT * FROM automobileparts"; require_once("dbconnect.php"); echo "<table width='100%' border='1'>"; $Row =...
  7. A

    Help me connect to my MYSQL

    hello this is the code.. this is called list.php <body> <? $TableName = "automobileparts"; $SQLstring = "SELECT * acellec_automobileparts"; require_once("dbconnect.php"); echo "<table width='100%' border='1'>"; $Row = $QueryResult->fetch_row(); do { //echo...
  8. A

    Help me connect to my MYSQL

    i have this code <? $DBConnect = mysqli_connect("localhost", "acellec", "francisco2"); $DBConnect->select_db("acellec_AutomobileParts"); $QueryResult = $DBConnect->query($SQLstring) Or die("<p>Unable to execute the query.</p>"."<p>Error code ". $DBConnect->errno ...
  9. A

    Help me connect to my MYSQL

    I've created a new database using my cpanel>Mysql Databases and then i created a php code and uplod it in my web disk public html.. how can i connect to database because i have this error <?php $username = "acellec_acellec"; // MySQL Username $password = "francisco2"; //MySQL Password...
Top