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
| db.php | |
| ====== | |
| <?php | |
| $USER_NAME = "test"; | |
| $USER_PWD = "test"; | |
| $MYSQL_HOST= "test"; | |
| $DATABASE = "test"; | |
| $dbLink = mysql_connect( $MYSQL_HOST, $USER_NAME, $USER_PWD ); |
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 | |
| /* | |
| Using php, write a program that must fulfill these requirements: | |
| For the numbers from 1 to 100, | |
| If the number is a multiple of 3, print cake instead of the number. | |
| If the number is a multiple of 5, print pi instead of the number. | |
| If the number is a multiple of 15, print cakepi instead of the number. |
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 | |
| /* | |
| Using php, write a program that must fulfill these requirements: | |
| For the numbers from 1 to 100, | |
| If the number is a multiple of 3, print cake instead of the number. | |
| If the number is a multiple of 5, print pi instead of the number. | |
| If the number is a multiple of 15, print cakepi instead of the number. |