Jboy01's Posts
Nairaland Forum › Jboy01's Profile › Jboy01's Posts
1 2 3 4 5 6 7 8 ... 22 23 24 25 26 (of 26 pages)
Pls which is the best android phone I can buy with #20,000. Pls I want to taste the Life in android. NOTE:- am not a gaming type, so am not intrested in phone with good HD gaming. I just want a better fone. ⌣»̶·̵̭̌·̵̭̌✽̤̈̊Ŧђɑ̤̥̈̊п̥̥̲̣̣̣kƨ̣̣̣̇̇̇̇✽̤̈̊·̵̭̌·̵̭̌«̶⌣. |
I don't have any problem with (M̶̲̥̅γ̲̣̣̥) browsing |
dmark4real: Pls my honorable programmers in the house, i have a problem with the following code: I want the code to calculate the amount whenever the quantity and the rate is selected but i get undefined index and i need the page to automatically calculate and display the amount when the quantity and rate is selected without having to click anything. I hope anyone understand this.With my little knowledge, I think web application development is not like pc application, the page need to load to carry out the instructions that is the ($AMT*$RATE). And for the system to carry out the insructions, u need to click on the submit button. |
softchase: facebook.com/engrolumide.kuforijiAm in nigeria , live in ondo state but skul in minna |
Pls can I have ur email address, twitter and facebook username, I need some web developer friends, I can't find any over here. |
Pls pals, I want to develop a forum where you can create a topic, and people can post their comment. Pls will all the be on different tables with their posts arranged on individual table? |
jacob05: The images aren't the issue but the undefined variables $hdncounter and $Ok thank u |
jacob05: were you able to run this? Because i'm getting errors while running your codeIt run on my pc. Do you know that there are some images invove |
Thank you pals, I have gotten the by myself. I use <html> <head> <title>Reloaded</title> </head> <body> <center> <h1>Dice Game Reloaded</h1> <?php //declearing the variable name for the dices $dice1="<img src='dice1.png'>"; $dice2="<img src='dice2.png'>"; $dice3="<img src='dice3.png'>"; $dice4="<img src='dice4.png'>"; $dice5="<img src='dice5.png'>"; $dice6="<img src='dice6.png'>"; ?> <?php $roll=rand(1, 6); echo "<h2>You roll a $roll</h2>"; ?> <?php //displaying pics with respect to random roll generated if ($roll==1) print $dice1; elseif ($roll==2) print $dice2; elseif ($roll==3) print $dice3; elseif ($roll==4) print $dice4; elseif ($roll==5) print $dice5; elseif ($roll==6) print $dice6; else print ""; ?> <br> <?php $hdncounter++; $hdnboxcounter++; If($hdnboxcounter==6){ Echo "<h1>GAME OVER</h1>"; } Elseif ($guess != $roll){ echo <<<HERE <form method="post" action=""> <table> <tr> <th>Input your Guess here</th> </tr> <tr> <td> <input type="text" name="guess"> <Input type="hidden" Name="hdncounter" value="$hdncounter"> <Input type="hidden" Name="hdnboxcounter" Value="$hdnboxcounter"> </td> </tr> <tr> <td> <input type="submit" name="submit" value="Submit"> </td> </tr> HERE; } else { print"<h2>YOU win</h2>" ; echo "<a href='reloaded.php'> Play Another Game</a>"; } ?> </center> </body> </html> |
Thank you pals, I have gotten the by myself. I use <html> <head> <title>Reloaded</title> </head> <body> <center> <h1>Dice Game Reloaded</h1> <?php //declearing the variable name for the dices $dice1="<img src='dice1.png'>"; $dice2="<img src='dice2.png'>"; $dice3="<img src='dice3.png'>"; $dice4="<img src='dice4.png'>"; $dice5="<img src='dice5.png'>"; $dice6="<img src='dice6.png'>"; ?> <?php $roll=rand(1, 6); echo "<h2>You roll a $roll</h2>"; ?> <?php //displaying pics with respect to random roll generated if ($roll==1) print $dice1; elseif ($roll==2) print $dice2; elseif ($roll==3) print $dice3; elseif ($roll==4) print $dice4; elseif ($roll==5) print $dice5; elseif ($roll==6) print $dice6; else print ""; ?> <br> <?php $hdncounter++; $hdnboxcounter++; If($hdnboxcounter==6){ Echo "<h1>GAME OVER</h1>"; } Elseif ($guess != $roll){ echo <<<HERE <form method="post" action=""> <table> <tr> <th>Input your Guess here</th> </tr> <tr> <td> <input type="text" name="guess"> <Input type="hidden" Name="hdncounter" value="$hdncounter"> <Input type="hidden" Name="hdnboxcounter" Value="$hdnboxcounter"> </td> </tr> <tr> <td> <input type="submit" name="submit" value="Submit"> </td> </tr> HERE; } else { print"<h2>YOU win</h2>" ; echo "<a href='reloaded.php'> Play Another Game</a>"; } ?> </center> </body> </html> |
Thank you pals, I have gotten the by myself. I use <html> <head> <title>Reloaded</title> </head> <body> <center> <h1>Dice Game Reloaded</h1> <?php //declearing the variable name for the dices $dice1="<img src='dice1.png'>"; $dice2="<img src='dice2.png'>"; $dice3="<img src='dice3.png'>"; $dice4="<img src='dice4.png'>"; $dice5="<img src='dice5.png'>"; $dice6="<img src='dice6.png'>"; ?> <?php $roll=rand(1, 6); echo "<h2>You roll a $roll</h2>"; ?> <?php //displaying pics with respect to random roll generated if ($roll==1) print $dice1; elseif ($roll==2) print $dice2; elseif ($roll==3) print $dice3; elseif ($roll==4) print $dice4; elseif ($roll==5) print $dice5; elseif ($roll==6) print $dice6; else print ""; ?> <br> <?php $hdncounter++; $hdnboxcounter++; If($hdnboxcounter==6){ Echo "<h1>GAME OVER</h1>"; } Elseif ($guess != $roll){ echo <<<HERE <form method="post" action=""> <table> <tr> <th>Input your Guess here</th> </tr> <tr> <td> <input type="text" name="guess"> <Input type="hidden" Name="hdncounter" value="$hdncounter"> <Input type="hidden" Name="hdnboxcounter" Value="$hdnboxcounter"> </td> </tr> <tr> <td> <input type="submit" name="submit" value="Submit"> </td> </tr> HERE; } else { print"<h2>YOU win</h2>" ; echo "<a href='reloaded.php'> Play Another Game</a>"; } ?> </center> </body> </html> |
pls Gurus, i wrote the below codes for a dice game with php, but the problem is how to make it GAME OVER after 5 wrong guessing. This is the codes: <html> <head> <title>Reloaded</title> </head> <body> <center> <h1>Dice Game Reloaded</h1> <?php //declearing the variable name for the dices $dice1="<img src='dice1.png'>"; $dice2="<img src='dice2.png'>"; $dice3="<img src='dice3.png'>"; $dice4="<img src='dice4.png'>"; $dice5="<img src='dice5.png'>"; $dice6="<img src='dice6.png'>"; ?> <?php $roll=rand(1, 6); echo "<h2>You roll a $roll</h2>"; ?> <?php //displaying pics with respect to random roll generated if ($roll==1) print $dice1; elseif ($roll==2) print $dice2; elseif ($roll==3) print $dice3; elseif ($roll==4) print $dice4; elseif ($roll==5) print $dice5; elseif ($roll==6) print $dice6; else print ""; ?> <br> <br> <?php //number of attempt before game over for ( $attempt<=5; $attempt=0; $attempt++ ) ?> <?php if ($guess != $roll){ echo <<<HERE <form method="post" action=""> <table> <tr> <th>Input your Guess here</th> </tr> <tr> <td> <input type="text" name="guess"> </td> </tr> <tr> <td> <input type="submit" name="submit" value="Submit"> </td> </tr> HERE; //else { //echo "<h1>GAME OVER</h1>"; //} } else { print"<h2>YOU win</h2>" ; echo "<a href='reloaded.php'> Play Another Game</a>"; } ?> </center> </body> </html> |
I use bb curve 2 and I can watch online video on any site from any angle, I did not do any configuration, I only subscribe for glo montly plan and am good τ̅☺ go. But (M̶̲̥̅γ̲̣̣̥) credit Ȋ̝̊̅§ always deducted when there watching online video with credit on (M̶̲̥̅γ̲̣̣̥) fone. But when I don't have credit, I still watch online videos |
