samclarko Jul 17th, 2016 96 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- //start session to allow carrying of data accross pages
- //connect to database using your username and pw
- $conn = mysql_connect ('localhost', 'root', '') or die('Couldnot connect to server');
- //select your database
- $db = mysql_select_db ('portal', $conn) or die ('could no find database');
RAW Paste Data