 |
Results from the most recent live auction are here.
27 members in the live chat room. Join Chat!
| |
10-08-2005, 08:07 PM
|
· #1 | | NamePros Regular Name: Pete Location: U.S.A. Join Date: Jul 2005
Posts: 648
NP$: 67.00 ( Donate)
| Here's are good PHP codes Here are 2 codes that kinda work together and become 1. Yet they are 2 seperate things. LOL oh well.
-Coolprogram
awesome.php PHP Code: <html>
<body>
<center>
<h1>Quiz</h1>
</center>
<h3>Which is the correct spelling?</h3>
<br>
<form action="whatever.php" method="POST">
<input type="radio" name="cool" value="Wrong"> heel
<br>
<input type="radio" name="quiz" value="Correct"> heal
<br>
</html>
<br>
<input type="submit" name="submit" value="Submit">
<input type="reset" name="reset" value="Reset All">
</form>
<?php
if($_POST['submit'])
{
$quiz = $_POST['quiz'];
if($quiz == "Correct")
{
echo 'You are Correct';
}
else
{
echo 'Wrong.';
}
}
?>
</body>
</html>
PHP Code: <html>
<body bgcolor=white>
<body text=black>
<b>
<?php echo $_POST["quiz"]; ?>.<br />
Okay If you are correct click<u><a href="whatever.php">here.</a></u></h1></b>
</body>
</html>
whatever.php PHP Code: <html>
<h1>Wasup!!</h1>
<br>
<h3>Thanks for doing this
-Coolprogram
These codes would make something like this www.programmingplus.info/awesome.php
__________________
Your Link Here 10np$ a month Please PM me if you want theses spaces
' '
' ' ProTechGFX.com
Last edited by Coolprogram : 10-08-2005 at 10:10 PM.
|
| |
10-08-2005, 08:35 PM
|
· #2 | | Senior Member Join Date: Sep 2005
Posts: 3,604
NP$: 249.34 ( Donate)
| So its basically a quiz? |
| |
10-08-2005, 09:02 PM
|
· #3 | | NamePros Regular Name: Pete Location: U.S.A. Join Date: Jul 2005
Posts: 648
NP$: 67.00 ( Donate)
| That's exactly what it is. Congrats you figured it out. But i need some things before you can call it a good quiz. Oh an that's exactly what this will be. www.tuttorial.com/html.php EDIT: The new site has different codes, but i dont feel like showing them.
Thanks,
-Coolprogram
__________________
Your Link Here 10np$ a month Please PM me if you want theses spaces
' '
' ' ProTechGFX.com
Last edited by Coolprogram : 11-16-2005 at 05:59 PM.
|
| |
10-08-2005, 09:19 PM
|
· #4 | | NamePros Member Location: Melbourne Join Date: Jun 2005 | It's a nice start. I'm assuming you're just starting out on PHP? |
| |
10-08-2005, 09:20 PM
|
· #5 | | NamePros Regular Name: Pete Location: U.S.A. Join Date: Jul 2005
Posts: 648
NP$: 67.00 ( Donate)
| Yeah but the cool thing is i hust started like 3days ago learning this.
__________________
Your Link Here 10np$ a month Please PM me if you want theses spaces
' '
' ' ProTechGFX.com |
| |
10-08-2005, 09:36 PM
|
· #6 | | NamePros Member Location: Melbourne Join Date: Jun 2005 | That's pretty good for how long you've been learning. I keep trying to get my friends to learn, but they can't even get that far after a week, lol. I guess they just don't have any motivation! |
| |
10-08-2005, 10:07 PM
|
· #7 | | NamePros Regular Name: Pete Location: U.S.A. Join Date: Jul 2005
Posts: 648
NP$: 67.00 ( Donate)
| Hehe yur probably right.It actually is pretty easy when you get the hang of it. Oh and just tell them to use tutorials if they need help or something while programming that's what i did and you memorize the codes quicker.
__________________
Your Link Here 10np$ a month Please PM me if you want theses spaces
' '
' ' ProTechGFX.com |
| |
10-08-2005, 10:19 PM
|
· #8 | | NamePros Member Location: Melbourne Join Date: Jun 2005 | Yeah, I got them to read some tutorials, directed them to a few books, and even tried teaching them myself, but I don't think they could be bothered learning it at all. That'd probably be why they couldn't do anything, lol. |
| |
10-08-2005, 10:24 PM
|
· #9 | | Account Closed Name: John Morris Location: Charlottetown Join Date: Jan 2004
Posts: 1,036
NP$: 364.29 ( Donate)
| Yeah PHP is one of the best languages you can learn. |
| |
10-08-2005, 10:38 PM
|
· #10 | | NamePros Regular Name: Pete Location: U.S.A. Join Date: Jul 2005
Posts: 648
NP$: 67.00 ( Donate)
| LOL, That's funny man even teaching them yur self wow you are desperate to get them too learn huh. But if they do start doing it they will probably like doing it like even simple things like this www.tuttorial.com/
cp.php PHP Code: <html>
<body>
<form action="cool-2.php" method="POST">
Username:
<input type="text" name="cool" value="My Name Is">
<br>
<input type="submit" name="submit" value="Submit">
<input type="reset" name="reset" value="Reset All">
</form>
</html>
cool-2.php PHP Code: <html>
<body>
$_POST['cool'];?> I dont have an example any more.
__________________
Your Link Here 10np$ a month Please PM me if you want theses spaces
' '
' ' ProTechGFX.com
Last edited by Coolprogram : 11-16-2005 at 06:02 PM.
|
| |
10-08-2005, 10:45 PM
|
· #11 | | Senior Member Join Date: Sep 2005
Posts: 3,604
NP$: 249.34 ( Donate)
| Oh I didn't realize you made it. If you did than thats really good! |
| |
10-08-2005, 10:49 PM
|
· #12 | | NamePros Regular Name: Pete Location: U.S.A. Join Date: Jul 2005
Posts: 648
NP$: 67.00 ( Donate)
| Thanks.I did have a little help though from somone named SV.(Second Version) but i editted the stuff and the remade it soo i would know how.
__________________
Your Link Here 10np$ a month Please PM me if you want theses spaces
' '
' ' ProTechGFX.com |
| |
10-27-2005, 10:04 AM
|
· #13 | | Senior Member Name: Zubair Location: Ontario Canada Join Date: May 2005
Posts: 2,746
NP$: 718.15 ( Donate)
| the site is not opening  |
| |
11-03-2005, 03:53 PM
|
· #14 | | NamePros Regular Name: Pete Location: U.S.A. Join Date: Jul 2005
Posts: 648
NP$: 67.00 ( Donate)
|
__________________
Your Link Here 10np$ a month Please PM me if you want theses spaces
' '
' ' ProTechGFX.com |
| |
11-22-2005, 04:27 AM
|
· #15 | | NP Twin™ Name: Joe Location: Kent ~ U.K. Join Date: Oct 2005
Posts: 2,985
NP$: 1426.87 ( Donate)
| they're cool, good luck with any future php scripts  |
| |
01-24-2006, 11:03 PM
|
· #16 | | Account Suspended Location: India Join Date: Oct 2005
Posts: 636
NP$: 15.35 ( Donate)
| cool dude ! u rock in PHP scripts. do post if u know more |
| |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | |