June 30, 200818 yr i add working tonight a test for inserting stock into a mysql but then i decided to move on to the nextstge and messed it up and carnt remember the correct sequence first i connect to the data bace then do i insert the new info or do i update the info depending on how go about things it says i am not connected to databace lesson learnt always save a backup copy thanks
July 1, 200818 yr You connect your database using this: <?php $host="usually_localhost"; $user="username"; $pasw="password"; $db="database's_name"; mysql_connect($host,$user,$pasw); mysql_select_db($db); //here comes your insert or update info ?>
July 1, 200818 yr Author You connect your database using this: <?php $host="usually_localhost"; $user="username"; $pasw="password"; $db="database's_name"; mysql_connect($host,$user,$pasw); mysql_select_db($db); //here comes your insert or update info ?> thanks for that i will try again
July 1, 200818 yr Author thank you i got it to work i was updating then trying to inset the new information as well thanks for the help
Create an account or sign in to comment