thanks. ""Ross"" <ross@xxxxxxxxxxxxx> wrote in message news:8F.10.54015.9CFD7064@xxxxxxxxxxxxxxx > Can I put post values directly into insert statements? > > $query = "INSERT INTO categories (category_name) VALUES > ('$_POST['cat_name'])"; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php