[advanced search]
Results from the most recent live auction are here.
27 members in the live chat room. Join Chat!
Register Rules & FAQ NP$ Store Active Threads Mark Forums Read
Go Back   NamePros.Com > Design and Development > Programming > CODE
User Name
Password

Old 10-08-2005, 08:07 PM   · #1
Coolprogram
NamePros Regular
 
Name: Pete
Location: U.S.A.
Trader Rating: (12)
Join Date: Jul 2005
Posts: 648
NP$: 67.00 (Donate)
Coolprogram has a spectacular aura aboutCoolprogram has a spectacular aura about
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>
&
lt;/html&gt;
<
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


Please register or log-in into NamePros to hide ads
__________________
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.
Coolprogram is offline   Reply With Quote
Old 10-08-2005, 08:35 PM   · #2
Epic
Senior Member
 
Epic's Avatar
 
Trader Rating: (89)
Join Date: Sep 2005
Posts: 3,604
NP$: 249.34 (Donate)
Epic has a brilliant futureEpic has a brilliant futureEpic has a brilliant futureEpic has a brilliant futureEpic has a brilliant futureEpic has a brilliant futureEpic has a brilliant futureEpic has a brilliant futureEpic has a brilliant futureEpic has a brilliant futureEpic has a brilliant future
So its basically a quiz?
Epic is offline   Reply With Quote
Old 10-08-2005, 09:02 PM   · #3
Coolprogram
NamePros Regular
 
Name: Pete
Location: U.S.A.
Trader Rating: (12)
Join Date: Jul 2005
Posts: 648
NP$: 67.00 (Donate)
Coolprogram has a spectacular aura aboutCoolprogram has a spectacular aura about
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.
Coolprogram is offline   Reply With Quote
Old 10-08-2005, 09:19 PM   · #4
soj
NamePros Member
 
soj's Avatar
 
Location: Melbourne
Trader Rating: (4)
Join Date: Jun 2005
Posts: 100
NP$: 9.00 (Donate)
soj is on a distinguished road
It's a nice start. I'm assuming you're just starting out on PHP?
soj is offline   Reply With Quote
Old 10-08-2005, 09:20 PM   · #5
Coolprogram
NamePros Regular
 
Name: Pete
Location: U.S.A.
Trader Rating: (12)
Join Date: Jul 2005
Posts: 648
NP$: 67.00 (Donate)
Coolprogram has a spectacular aura aboutCoolprogram has a spectacular aura about
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
Coolprogram is offline   Reply With Quote
Old 10-08-2005, 09:36 PM   · #6
soj
NamePros Member
 
soj's Avatar
 
Location: Melbourne
Trader Rating: (4)
Join Date: Jun 2005
Posts: 100
NP$: 9.00 (Donate)
soj is on a distinguished road
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!
soj is offline   Reply With Quote
Old 10-08-2005, 10:07 PM   · #7
Coolprogram
NamePros Regular
 
Name: Pete
Location: U.S.A.
Trader Rating: (12)
Join Date: Jul 2005
Posts: 648
NP$: 67.00 (Donate)
Coolprogram has a spectacular aura aboutCoolprogram has a spectacular aura about
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
Coolprogram is offline   Reply With Quote
Old 10-08-2005, 10:19 PM   · #8
soj
NamePros Member
 
soj's Avatar
 
Location: Melbourne
Trader Rating: (4)
Join Date: Jun 2005
Posts: 100
NP$: 9.00 (Donate)
soj is on a distinguished road
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.
soj is offline   Reply With Quote
Old 10-08-2005, 10:24 PM   · #9
jmweb
Account Closed
 
jmweb's Avatar
 
Name: John Morris
Location: Charlottetown
Trader Rating: (21)
Join Date: Jan 2004
Posts: 1,036
NP$: 364.29 (Donate)
jmweb is a glorious beacon of lightjmweb is a glorious beacon of lightjmweb is a glorious beacon of lightjmweb is a glorious beacon of lightjmweb is a glorious beacon of light
Yeah PHP is one of the best languages you can learn.
jmweb is offline   Reply With Quote
Old 10-08-2005, 10:38 PM   · #10
Coolprogram
NamePros Regular
 
Name: Pete
Location: U.S.A.
Trader Rating: (12)
Join Date: Jul 2005
Posts: 648
NP$: 67.00 (Donate)
Coolprogram has a spectacular aura aboutCoolprogram has a spectacular aura about
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.
Coolprogram is offline   Reply With Quote
Old 10-08-2005, 10:45 PM   · #11
Epic
Senior Member
 
Epic's Avatar
 
Trader Rating: (89)
Join Date: Sep 2005
Posts: 3,604
NP$: 249.34 (Donate)
Epic has a brilliant futureEpic has a brilliant futureEpic has a brilliant futureEpic has a brilliant futureEpic has a brilliant futureEpic has a brilliant futureEpic has a brilliant futureEpic has a brilliant futureEpic has a brilliant futureEpic has a brilliant futureEpic has a brilliant future
Oh I didn't realize you made it. If you did than thats really good!
Epic is offline   Reply With Quote
Old 10-08-2005, 10:49 PM   · #12
Coolprogram
NamePros Regular
 
Name: Pete
Location: U.S.A.
Trader Rating: (12)
Join Date: Jul 2005
Posts: 648
NP$: 67.00 (Donate)
Coolprogram has a spectacular aura aboutCoolprogram has a spectacular aura about
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
Coolprogram is offline   Reply With Quote
Old 10-27-2005, 10:04 AM   · #13
unknowngiver
Senior Member
 
Name: Zubair
Location: Ontario Canada
Trader Rating: (53)
Join Date: May 2005
Posts: 2,746
NP$: 718.15 (Donate)
unknowngiver is a name known to allunknowngiver is a name known to allunknowngiver is a name known to allunknowngiver is a name known to allunknowngiver is a name known to allunknowngiver is a name known to all
the site is not opening
unknowngiver is offline   Reply With Quote
Old 11-03-2005, 03:53 PM   · #14
Coolprogram
NamePros Regular
 
Name: Pete
Location: U.S.A.
Trader Rating: (12)
Join Date: Jul 2005
Posts: 648
NP$: 67.00 (Donate)
Coolprogram has a spectacular aura aboutCoolprogram has a spectacular aura about
new site www.tuttorial.com/tutorial1.html and it is the tutorials new code with help from SV(Second Version).
__________________
Your Link Here 10np$ a month Please PM me if you want theses spaces
' '
' '
ProTechGFX.com
Coolprogram is offline   Reply With Quote
Old 11-22-2005, 04:27 AM   · #15
Joe
NP Twin™
 
Joe's Avatar
 


Name: Joe
Location: Kent ~ U.K.
Trader Rating: (46)
Join Date: Oct 2005
Posts: 2,985
NP$: 1426.87 (Donate)
Joe has much to be proud ofJoe has much to be proud ofJoe has much to be proud ofJoe has much to be proud ofJoe has much to be proud ofJoe has much to be proud ofJoe has much to be proud ofJoe has much to be proud of
Save The Children
they're cool, good luck with any future php scripts
__________________
Joe is online now   Reply With Quote
Old 01-24-2006, 11:03 PM   · #16
blackwizard
Account Suspended
 
Location: India
Trader Rating: (8)
Join Date: Oct 2005
Posts: 636
NP$: 15.35 (Donate)
blackwizard is a jewel in the roughblackwizard is a jewel in the roughblackwizard is a jewel in the rough
cool dude ! u rock in PHP scripts. do post if u know more
blackwizard is offline   Reply With Quote
Closed Thread

NamePros is a revenue sharing forum.

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HOWTO: Install the Apache Web Server, Perl, PHP, and MySQL on Windows deadserious Webmaster Tutorials 96 05-27-2007 01:24 PM
Is this a good deal??? balco101 Web Hosting Discussion 24 06-02-2005 10:10 AM
We customize form for your website at very good price. shrekwarrior Web Development Wanted 0 03-25-2005 08:05 PM
Looking for a good PHP tutorial happyyo Programming 2 03-14-2004 11:04 PM

Site Sponsors
http://www.mobisitetrader.com/ Special Offer
Advertise your business at NamePros
All times are GMT -7. The time now is 04:53 PM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0