Re: [PHP] $_POST

2005-01-17 Thread Andrew Maxwell
Thats exactly what i need. Thanks a ton. ~Andrew On Mon, 17 Jan 2005 10:58:07 +0200, Ville Mattila <[EMAIL PROTECTED]> wrote: > Andrew Maxwell wrote: > > When you submit something, and you want to make sure that the user > > inputs all of the info, is there an easier w

[PHP] $_POST

2005-01-17 Thread Andrew Maxwell
When you submit something, and you want to make sure that the user inputs all of the info, is there an easier way to do it than this: if ((!$_POST[name]) || !$_POST[pass]) || (!$_POST[blah])) { etc. } is there an easy way to check if all of the varibles have data in them? ~Andrew -- PHP Ge

[PHP] problem with 'setcookie'

2005-01-09 Thread Andrew Maxwell
I am running the latest version of XAMPP from apachefriends.org, when i try to set an authenticating cookie it doesnt make the cookie. It doesnt give me any errors or anything. I was looking through the PHP.ini file and it didnt have anything about the setcookie function. Can anyone tell me what is

[PHP] Problem with MySQL

2005-01-08 Thread Andrew Maxwell
Hello, Im fairly new to PHP and I am running an Apache web server on my computer, set up as localhost, and i recently installed MySQL 4.1 . I am having trouble making a DB and a table in the DB. when i try to create it from a command prompt it tells me this: C:\mysql\bin>mysqld-opt C:\mysql\bin>