Created
January 25, 2015 15:31
-
-
Save pasindud/a7771664ddcf8070be9f to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
| ini_set('max_execution_time', 300);//increasing the code running time | |
| $connect = mysql_connect('127.0.0.1', 'username', 'password'); | |
| $query1 = "SELECT id, word FROM `word_list_comments_stage2`"; | |
| mysql_select_db("irajw"); | |
| $result1=mysql_query($query1); | |
| $numrows1= mysql_num_rows($result1); | |
| if ($numrows1!=0) { | |
| while ($row1 = mysql_fetch_assoc($result1)) | |
| { | |
| var_dump($row1); | |
| echo $row1['id']; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment