i have installed wamp i am trying to setup a site with with a php form..that takes user input and inserts it into the mysql database but my mysql database does not have a username and password what it have is a database name and a table.. can someone tell me what to do next? i have phpmyadmin to create the database <?php $database_host = "wamplocalhost"; $username = "donthaveone"; $password = "donthaveone"; $database_name = "your-database-name"; // Database connection code ?> Code (markup): ...
wamp has no 'standard' password, most users can use 'root' as username and '' (blank) as password! localhost/phpmyadmin
thanks .. $username = "root"; $password = " "; like that? first i need a form second i need a php script third i need a table right? my first baby steps towards a registration form
basically, by default username is 'root' and password is nothing example if u make database config $user='root'; $pass='';