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 Chris Miller 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. kerspink1

    trying to insert to database

    i thought u had advised to do this ) $record = mysql_query>>(<<INSERT INTO members(first_name,surname,email)>>);<<
  2. kerspink1

    trying to insert to database

    like this function add_record($tablename, $fields, $values, $database, $host, $username, $password) { $record = mysql_query(INSERT INTO members(first_name,surname,email) VALUES('Tam','Bam','tambam@bools.com') if (!$record) { echo "INSERT...
  3. kerspink1

    trying to insert to database

    am trying to insert to a database and am getting the following error cannot seem to get rid of it and get the info inserted can anyone see my probs any help would be appreciated <?php $tablename = 'members'; $fields = array("first_name", "surname", "email"); $values = array( "Tam"...
  4. kerspink1

    how do i complete this script to output the titles column

    thanks vacunita i thought the echo should go into the body of the html to read out??
  5. kerspink1

    how do i complete this script to output the titles column

    i have been trying to complete this script to output the titls column only gives me Resource id #3 at moment <?php $host = 'localhost'; $user = 'xxxxxx'; $pass = 'Xxxxxxxx'; mysql_connect($host, $user, $pass); mysql_select_db($user); $result = mysql_query("SELECT title FROM books")...

Part and Inventory Search

Back
Top