PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
cause i am new to PHP i need to give me some code that creats a fiels "username" and a field "password" then submits those entries to a page called e.g db.php and where the ......
<?php
define("HOST", "localhost");
define("USER", "put the username var here from the field username");
define("PASS", "put the password here fro the field password");
define("DB", "HRC");
?>
plz i need a solution...i know you are fast Help me tnx!!!!
?>
Last edited by johnnyxp on Fri Nov 07, 2003 5:29 pm, edited 1 time in total.
well my friend that is the form ok, but in the db.php file how to tell it that the username and password are comming from the form!???
i mean where is the Variables???
thats not a solution start reading tutorials and found my solution aftra hours when someone can give it to me in seconds, so that i will finish my homework in time, and then i will read the tutorial for better understanding!
<?php
define("HOST", "localhost");
define("USER", "put the username var here from the field username");
define("PASS", "put the password here fro the field password");
define("DB", "HRC");
?>
Last edited by johnnyxp on Fri Nov 07, 2003 5:30 pm, edited 1 time in total.