[PHP-DB] PHP, MySQL and WML! Checking a database column for a particular value!

2001-01-26 Thread Kevin Connolly
Hi, I am trying to check for the existance of a certain value (ie $login, taken from my first PHP page: member.php) in the "first" column of my database "mydb. The value of "$login" is passed from member.php. My data base "mydb" contains 1 table called emplyoees which was created as follows: CRE

[PHP-DB] PHP, MySQL and WML! Checking a database column for a particular value!

2001-01-26 Thread Connolly Family
Hi, I am trying to check for the existance of a certain value (ie $login, taken from my first PHP page: member.php) in the "first" column of my database "mydb. The value of "$login" is passed from member.php. My data base "mydb" contains 1 table called emplyoees which was created as follows: CRE

Re: [PHP-DB] PHP, MySQL and WML!

2001-01-25 Thread Andrew Apold
>INSERT INTO employees (first,last,address,position) VALUES >('$(first)','$(last)','$(address)','$(position)') >is because in WML variables are stored as $(first) and not just $first like in >HTHML. >Somewhere between >$sql = "INSERT INTO employees (first,last,address,position) > > VALU

[PHP-DB] PHP, MySQL and WML!

2001-01-25 Thread Kevin Connolly
Hi, I am trying to update a MySQL database using a PHP script embeded in a WML page. Here is my code: The following is register2.php: > > > > > > > > > > > > Firs