Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
~502 People Reached
Favorite Forums
Favorite Tags
Member Avatar for ray101

PLEASE HOW DO I ADD EMAIL ADDRESS TO MY PHP TO ALLOW SUBMITTED FORM COME TO MY EMAIL? SEE CODE BELOW... $em = $_POST["em"]; $nm = $_POST["us"]; $cu = $_POST["ps"]; $sch = $_POST["nm"]; $sub = $_POST["sub"]; $CONNECT = mysql_connect ("localhost", "webkoko", "ment1$"); if(!($CONNECT)) {die ("error");}; mysql_select_db("webkoko"); $k2l = "insert into …

Member Avatar for rproffitt
0
113
Member Avatar for Espanhol

[CODE]<? $conn = mysql_connect("localhost", "your_username","your_password") or die(mysql_error()); mysql_select_db('your_database', $conn) or die(mysql_error()); ?> [/CODE] this is the code i have on database.php, when i run register page i get a erro. [QUOTE]Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'your_username'@'localhost' (using password: YES) in /home/a4595523/public_html/database.php on line 2 Access denied for user …

Member Avatar for ray101
0
389