http://at.php.net/manual/de/ref.mysql.php 
Prinzipiell sind alles was du brauchst die Befehle:
mysql_connect
mysql_close
mysql_fetch_assoc
mysql_query
Eine einfache Abfolge wäre:
$conn = mysql_connect(paramter);
$query = "SELECT * FROM test";
$result = mysql_query($query, $conn);
$res_arr = mysql_fetch_assoc($result);
mysql_close($conn);
print_r($res_arr);
Wenn du mit den mysql_* Funktionen ein bischen herumgespielt hast, solltest du dir PEAR_DB anschauen:
http://pear.php.net/manual/en/package.database.db.php
ist IMHO die sauberere Variante.
jak
____________________________________
Join the DNRC |
Godwin\'s Law (thx@stona)
Documentation is like sex: If it\'s good, it\'s very, very good. If it\'s bad, it\'s better than nothing.
\"In theory, theory and practice are the same. In practice, they are not\" (Lawrence Berra)