Re: [PHP] Form help

2001-03-22 Thread darion mapp
why don't you check to see is a variable was passed to the page. If you use the post method then a hidden field can be used o check that the user did come from the application page. a sample of the check will be if(!$var_from_previous_page) { header("location: application.php"); } -- On

[PHP] Encryption Problem

2001-03-22 Thread darion mapp
ok, so i have want to encrypt my user password in the mySQL Database and well that is not working but in addition to that when the user logges into the system i have to encrypt their password and compare the two encrypted passwords to see if they match. this is where my problem starts. I get

Re: [PHP] Printing MySQL into HTML Tables

2001-03-22 Thread darion mapp
now it seems like you know what is to be done and you are not willing to do the work. Now i have not tested this and you may have to do some work with it but you get the picture. if you lookup the syntax and ensure how to use the command then you will be ok. of course if you still have

Re: [PHP] Move data from one MySql table to another?

2001-03-23 Thread darion mapp
i know what you are trying to do i have done it before, just don't quite remember how i solved the problem, but i think what i did was to create the move link with the id of the field that you want to move, then another php file will do the stuff: 1. using the insert with the select statment

RE: [PHP] Move data from one MySql table to another?

2001-03-23 Thread darion mapp
NO it is not possible to use subselects at this point BUT It is possible to insert via a select check the mysql site for the insert syntax -- On Fri, 23 Mar 2001 12:41:04 Boget, Chris wrote: To populate new_table from old_table you can give it this SQL: INSERT INTO new_table (name,

RE: [PHP] Move data from one MySql table to another?

2001-03-23 Thread darion mapp
NO it is not possible to use subselects at this point BUT It is possible to insert via a select check the mysql site for the insert syntax -- On Fri, 23 Mar 2001 12:41:04 Boget, Chris wrote: To populate new_table from old_table you can give it this SQL: INSERT INTO new_table (name,

RE: [PHP] Move data from one MySql table to another?

2001-03-23 Thread darion mapp
Remove the "values" in your sql and see -- On Fri, 23 Mar 2001 13:00:23 Boget, Chris wrote: MySQL only supports INSERT ... SELECT ... and REPLACE ... SELECT ... Independent sub-selects will probably be available in Version 4.0. You can now use the function IN() in other contexts,

Re: [PHP] Complex IF statement

2001-03-23 Thread darion mapp
try if($var = "duck" || $var = "goose"){}else{} now you should look into the switch-case function also -- On Wed, 13 Dec 2000 00:19:08 JCampbell wrote: Thank you all for your help earlier! Now I need to know if it is possible to create a complex if statement? if ($variable=="duck") ||