Why does i get this error?

judgemen

New Member
Messages
2
Reaction score
0
Points
0
Code:
#1064 - You have an error in your SQL syntax; check the manual  that corresponds to your MySQL server version for the right syntax to  use near '<?php
// MYSQL
$conn = mysql_connect("localhost", "judgemen", "MYPASS")' at line 1

This is what im trying to add.

Code:
<?php
// MYSQL
$conn = mysql_connect("localhost", "judgemen", "MYPASS");
mysql_select_db('judgemen_donate', $conn);
?>
 

misson

Community Paragon
Community Support
Messages
2,572
Reaction score
72
Points
48
Top