Created
November 5, 2012 14:21
-
-
Save javiervivanco/4017425 to your computer and use it in GitHub Desktop.
php connect
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$r = mysql_connect($host, $user,$PASS); | |
$query = mysql_query('SELECT name FROM USER',$r) | |
mysql_query('INSERT user VALUES (1,2,3,)',$r) | |
while($row = mysql_fetch_assoc($query)){ | |
$['name']; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment