Insert not a clue how to do
Posted: Mon Feb 02, 2004 2:04 am
I have a db class called db
now this is how i do a select
but i have no idea how to do a insert please help and i will learn to help my self, thanks
[/php_man]
now this is how i do a select
Code: Select all
<?php
$DB = new DB;
$DB->sql = "SELECT * FROM pages where id = '$id'";
$DB->result = mysql_query($DB->sql); ?>but i have no idea how to do a insert please help and i will learn to help my self, thanks
[/php_man]