₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,298 members, 8,421,221 topics. Date: Saturday, 06 June 2026 at 02:21 AM

Toggle theme

Jboy01's Posts

Nairaland ForumJboy01's ProfileJboy01's Posts

1 2 3 4 5 6 7 8 ... 22 23 24 25 26 (of 26 pages)

PhonesAdvice Needed On Android Phone by jboy01(op): 9:06pm On Nov 03, 2012
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ƨ̣̣̣̇̇̇̇✽̤̈̊·̵̭̌·̵̭̌«̶⌣.
PhonesRe: No Blackberry Network And Access In GLO, Any Witness?????? by jboy01(m): 6:54pm On Nov 03, 2012
I don't have any problem with (M̶̲̥̅γ̲̣̣̥) browsing
ProgrammingRe: Pls Programmers In PHP And MYSQL Help Out On This by jboy01(m): 6:24pm On Nov 01, 2012
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.


<?php $qty = $_GET['qty'];
$rate = $_GET['rate'];

$amt = ($qty*$rate);


?>
<form action="<?php $_SERVER['PHP_SELF']; ?>" method="get">
<table width="200" border="1">
<tr>
<td>Qty</td>
<td><select name="qty"><option value="1">1</option><option value="2">2</option><option value="3">3</option></select>&nbsp;</td>
</tr>
<tr>
<td>Description</td>
<td><input type="text" name="des" />&nbsp;</td>
</tr>
<tr>
<td>Rate</td>
<td><input type="text" name="rate"/>&nbsp;</td>
</tr>
<tr>
<td>Amount</td>
<td><input type="text" name="amount" value="<?php echo $amt; ?>" />&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td><input type="submit" name="submit" value="Save" />&nbsp;</td>
</tr>
</table>


The info will be sent into the database when the button save is clicked.




</form>
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.
ProgrammingRe: A Beginner’s Guide To Web Development by jboy01(m): 6:42am On Nov 01, 2012
softchase: facebook.com/engrolumide.kuforiji

twitter.com/olumidekuforiji
ceo@softchaseng.com

Where in the world are you?
Am in nigeria , live in ondo state but skul in minna
ProgrammingRe: A Beginner’s Guide To Web Development by jboy01(m): 8:30am On Oct 31, 2012
Pls can I have ur email address, twitter and facebook username, I need some web developer friends, I can't find any over here.
ProgrammingHelp On Web Development by jboy01(op): 9:12am On Oct 20, 2012
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?
ProgrammingRe: Help On Php Code For A Dice Game by jboy01(op): 10:44pm On Sep 29, 2012
jacob05: The images aren't the issue but the undefined variables $hdncounter and $
hdnboxcounter. you really need improve your code. You can start by using an array for storing the images and also making use of the $_SESSION global variable instead of using hidden form values to store counts. wink
Ok thank u
ProgrammingRe: Help On Php Code For A Dice Game by jboy01(op): 8:10pm On Sep 29, 2012
jacob05: were you able to run this? Because i'm getting errors while running your code
It run on my pc. Do you know that there are some images invove
ProgrammingRe: Help On Php Code For A Dice Game by jboy01(op): 6:43pm On Sep 29, 2012
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>
ProgrammingRe: Help On Php Code For A Dice Game by jboy01(op): 6:41pm On Sep 29, 2012
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>
ProgrammingRe: Help On Php Code For A Dice Game by jboy01(op): 6:39pm On Sep 29, 2012
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>
ProgrammingHelp On Php Code For A Dice Game by jboy01(op): 5:21pm On Sep 26, 2012
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>
PhonesRe: Need Tips On How To Configure My Blackbery Curve 2 To Play Online Internet Video by jboy01(m): 3:06pm On Aug 18, 2012
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

1 2 3 4 5 6 7 8 ... 22 23 24 25 26 (of 26 pages)