Webmaster Forum

Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


Reply
 
LinkBack Thread Tools Display Modes
Old 09-10-2006, 12:22 PM   #1 (permalink)
Member
 
Join Date: 05-18-06
Posts: 110
iTrader: 0 / 0%
Latest Blog:
None

mybluehair is liked by many
Red face I want to learn php

hi. I am starting on a project, and I need php lessons. mostly I need to learn the "if" codes. like if a user selected yes in a form to "do you want music playing?" then it would play music, but if they sayed no, then it wouldent.


thanks.
mybluehair is offline  
Add Post to del.icio.us
Reply With Quote
Old 09-10-2006, 12:32 PM   #2 (permalink)
v7n Mentor
 
Avinash's Avatar
 
Join Date: 08-23-06
Posts: 1,582
iTrader: 0 / 0%
Avinash is a highly respected web proAvinash is a highly respected web proAvinash is a highly respected web proAvinash is a highly respected web proAvinash is a highly respected web proAvinash is a highly respected web proAvinash is a highly respected web proAvinash is a highly respected web proAvinash is a highly respected web proAvinash is a highly respected web proAvinash is a highly respected web pro
This link should be enough for you to learn PHP..

> PHP 101
http://devzone.zend.com/node/view/id/627

Note: A tutorial series by Zend that is full of fun.
-


- Avinash
Avinash is offline  
Add Post to del.icio.us
Reply With Quote
Old 09-13-2006, 06:08 PM   #3 (permalink)
Member
 
Join Date: 05-18-06
Posts: 110
iTrader: 0 / 0%
Latest Blog:
None

mybluehair is liked by many
Quote:
Originally Posted by Avinash
This link should be enough for you to learn PHP..

> PHP 101
http://devzone.zend.com/node/view/id/627

Note: A tutorial series by Zend that is full of fun.
-


- Avinash
hi, and thanks. but still, when I read the tutorial and test it with a form, I make a form and put the action to message.php, then when I enter "hi" in the from and click enter it goes to message.php and theres nothing there. heres the script:

form.html:
Quote:
<html>
<head></head>
<body>
<form action="message.php" method="post">
Enter your message: <input type="text" name="msg" size="30">
<input type="submit" value="Send">
</form>
</body>
</html>
and message.php:
Quote:
<html>
<head></head>
<body>

<?php
// retrieve form data
$input = $_POST['msg'];
// use it
echo "You said: <i>$input</i>";
?>

</body>
</html>
so whats wrong?
mybluehair is offline  
Add Post to del.icio.us
Reply With Quote
Old 09-13-2006, 06:41 PM   #4 (permalink)
v7n Mentor
 
digiweb's Avatar
 
Join Date: 04-07-06
Location: Manchester, NH
Posts: 722
iTrader: 1 / 100%
digiweb is a glorious beacon of lightdigiweb is a glorious beacon of lightdigiweb is a glorious beacon of lightdigiweb is a glorious beacon of lightdigiweb is a glorious beacon of lightdigiweb is a glorious beacon of lightdigiweb is a glorious beacon of lightdigiweb is a glorious beacon of lightdigiweb is a glorious beacon of lightdigiweb is a glorious beacon of lightdigiweb is a glorious beacon of light
Send a message via Yahoo to digiweb Send a message via Skype™ to digiweb
that works if you put all of it in message.php and you're running on a server that supports php.
digiweb is offline  
Add Post to del.icio.us
Reply With Quote
Old 09-20-2006, 12:06 AM   #5 (permalink)
v7n Mentor
 
Avinash's Avatar
 
Join Date: 08-23-06
Posts: 1,582
iTrader: 0 / 0%
Avinash is a highly respected web proAvinash is a highly respected web proAvinash is a highly respected web proAvinash is a highly respected web proAvinash is a highly respected web proAvinash is a highly respected web proAvinash is a highly respected web proAvinash is a highly respected web proAvinash is a highly respected web proAvinash is a highly respected web proAvinash is a highly respected web pro
Quote:
Originally Posted by mybluehair
so whats wrong?
Did you try again as CB said?
Avinash is offline  
Add Post to del.icio.us
Reply With Quote
Old 09-20-2006, 09:30 AM   #6 (permalink)
Junior Member
 
Join Date: 09-20-06
Posts: 4
iTrader: 0 / 0%
Latest Blog:
None

Volter is liked by many
Hi! I present the large Russian firm by web-designing. Who can prompt middle prices of web-site's making. For us this price is about $1000 on condition of high-quality project. As you can estimate our chances of entrance to Your market. thank you for advise!
Volter is offline  
Add Post to del.icio.us
Reply With Quote
Old 09-10-2006, 01:06 PM   #7 (permalink)
v7n Mentor
 
megamoose's Avatar
 
Join Date: 06-04-06
Location: Northern Ireland
Posts: 481
iTrader: 2 / 100%
Latest Blog:
None

megamoose is a glorious beacon of lightmegamoose is a glorious beacon of lightmegamoose is a glorious beacon of lightmegamoose is a glorious beacon of lightmegamoose is a glorious beacon of lightmegamoose is a glorious beacon of lightmegamoose is a glorious beacon of lightmegamoose is a glorious beacon of lightmegamoose is a glorious beacon of lightmegamoose is a glorious beacon of lightmegamoose is a glorious beacon of light
Send a message via ICQ to megamoose Send a message via MSN to megamoose Send a message via Yahoo to megamoose Send a message via Skype™ to megamoose
Hi mybluehair. There are lots of tutorials and information on the net these days for PHP and judging by your reply you know a little bit of PHP, yes?

Well when I was learning PHP I had a good knowledge of Visual Basic and Javascript so I knew how programs/scripts where structured, if you are the same and know how they work then I recommend you just use the official php.net website. (http://www.php.net) and just search for any command you want to know how to use.

However, if you are a complete beginner then may I recommend you check out w3schools.com. Personally I have never had to use them, but I have had a look at their stuff and feel that a complete novice on the subject can really be helped by that website.

If you have any furthur problems, feel free to send me a little PM and I'll be more than happy to help you out with certain commands and structures

Mark
__________________
Message me for PHP | HTML | CSS | JAVASCRIPT | .NET | MySQL help and support
megamoose is offline  
Add Post to del.icio.us
Reply With Quote
Old 09-11-2006, 01:11 PM   #8 (permalink)
Member
 
Join Date: 08-19-06
Posts: 117
iTrader: 0 / 0%
Latest Blog:
None

autoecart is on the right pathautoecart is on the right pathautoecart is on the right path
You might also what to try the actual PHP site I think its php.org or something like that.
autoecart is offline  
Add Post to del.icio.us
Reply With Quote
Old 09-11-2006, 04:57 PM   #9 (permalink)
Member
 
Net-Margin's Avatar
 
Join Date: 06-01-06
Location: United Kingdom
Posts: 74
iTrader: 0 / 0%
Latest Blog:
None

Net-Margin is liked by somebodyNet-Margin is liked by somebodyNet-Margin is liked by somebodyNet-Margin is liked by somebody
Quote:
Originally Posted by autoecart
You might also what to try the actual PHP site I think its php.org or something like that.
I think MegaMoose suggested that (PHP.net) but it has a brilliant manual, also you could check SitePoints articles as Kevin Yank writes a good Database Website book and articles.

Also why not pay for http://www.lynda.com as they have amazing video tutorials and I purchased one off eBay for PHP and it's brilliant, not too indepth but extremely simple to understand in the way you put it.

By the way if your on Windows and want to install Apache, PHP, mySQL then use WAMP it's the easiest. =]
Net-Margin is offline  
Add Post to del.icio.us
Reply With Quote
Old 09-11-2006, 05:04 PM   #10 (permalink)
v7n Mentor
 
Avinash's Avatar
 
Join Date: 08-23-06
Posts: 1,582
iTrader: 0 / 0%
Avinash is a highly respected web proAvinash is a highly respected web proAvinash is a highly respected web proAvinash is a highly respected web proAvinash is a highly respected web proAvinash is a highly respected web proAvinash is a highly respected web proAvinash is a highly respected web proAvinash is a highly respected web proAvinash is a highly respected web proAvinash is a highly respected web pro
Why are you people misguiding him/her by pointing him/her to lynda.com?

Even the dumbest person will learn PHP in a day following the PHP 101 tutorial series @Zend
Avinash is offline  
Add Post to del.icio.us
Reply With Quote
Old 09-11-2006, 05:07 PM   #11 (permalink)
Member
 
Net-Margin's Avatar
 
Join Date: 06-01-06
Location: United Kingdom
Posts: 74
iTrader: 0 / 0%
Latest Blog:
None

Net-Margin is liked by somebodyNet-Margin is liked by somebodyNet-Margin is liked by somebodyNet-Margin is liked by somebody
Quote:
Originally Posted by Avinash
Why are you people misguiding him/her by pointing him/her to lynda.com?

Even the dumbest person will learn PHP in a day following the PHP 101 tutorial series @Zend
Perhaps but still the thread creater I am sure wanted more than one suggestion, the Zend tutorials may be your personal reccommendation but other people are submitting theirs i'm sure on their personal basic.

Thats why I have put Lynda there as I picked one up cheap on eBay and it helped me, as did Kevin Yanks books and the PHP manual.
Net-Margin is offline  
Add Post to del.icio.us
Reply With Quote
Old 09-11-2006, 05:57 PM   #12 (permalink)
v7n Mentor
 
Avinash's Avatar
 
Join Date: 08-23-06
Posts: 1,582
iTrader: 0 / 0%
Avinash is a highly respected web proAvinash is a highly respected web proAvinash is a highly respected web proAvinash is a highly respected web proAvinash is a highly respected web proAvinash is a highly respected web proAvinash is a highly respected web proAvinash is a highly respected web proAvinash is a highly respected web proAvinash is a highly respected web proAvinash is a highly respected web pro
Quote:
Originally Posted by Net-Margin
the Zend tutorials may be your personal reccommendation but other people are submitting theirs i'm sure on their personal basic.
The point was about pointing to a commercial system when there are thousands of great PHP tutorials available on the net for free.
Avinash is offline  
Add Post to del.icio.us
Reply With Quote
Old 09-11-2006, 07:57 PM   #13 (permalink)
v7n Mentor
 
cimmeron's Avatar
 
Join Date: 02-16-06
Posts: 2,523
iTrader: 0 / 0%
cimmeron is just really nicecimmeron is just really nicecimmeron is just really nicecimmeron is just really nicecimmeron is just really nicecimmeron is just really nicecimmeron is just really nicecimmeron is just really nicecimmeron is just really nicecimmeron is just really nicecimmeron is just really nice
Quote:
Originally Posted by Avinash
The point was about pointing to a commercial system when there are thousands of great PHP tutorials available on the net for free.

have a cookie...
__________________
Wicked Relevant | Website Design
Affordable Web Design, too
cimmeron is offline  
Add Post to del.icio.us
Reply With Quote
Old 09-11-2006, 08:00 PM   #14 (permalink)
v7n Mentor
 
Avinash's Avatar
 
Join Date: 08-23-06
Posts: 1,582
iTrader: 0 / 0%
Avinash is a highly respected web proAvinash is a highly respected web proAvinash is a highly respected web proAvinash is a highly respected web proAvinash is a highly respected web proAvinash is a highly respected web proAvinash is a highly respected web proAvinash is a highly respected web proAvinash is a highly respected web proAvinash is a highly respected web proAvinash is a highly respected web pro
Quote:
Originally Posted by cimmeron
have a cookie...
Avinash is offline  
Add Post to del.icio.us
Reply With Quote
Old 09-11-2006, 07:46 PM   #15 (permalink)
Member
 
Join Date: 03-14-06
Posts: 68
iTrader: 0 / 0%
Latest Blog:
None

jroxonline is liked by many
phpfreaks.com has some great tutorials on php.
jroxonline is offline  
Add Post to del.icio.us
Reply With Quote
Old 09-11-2006, 08:02 PM   #16 (permalink)
v7n Mentor
 
cimmeron's Avatar
 
Join Date: 02-16-06
Posts: 2,523
iTrader: 0 / 0%
cimmeron is just really nicecimmeron is just really nicecimmeron is just really nicecimmeron is just really nicecimmeron is just really nicecimmeron is just really nicecimmeron is just really nicecimmeron is just really nicecimmeron is just really nicecimmeron is just really nicecimmeron is just really nice
__________________
Wicked Relevant | Website Design
Affordable Web Design, too
cimmeron is offline  
Add Post to del.icio.us
Reply With Quote
Old 09-11-2006, 09:38 PM   #17 (permalink)
v7n Mentor
 
Web Gazelle's Avatar
 
Join Date: 03-09-05
Location: forums.seo.com
Posts: 934
iTrader: 0 / 0%
Web Gazelle is a splendid one to beholdWeb Gazelle is a splendid one to beholdWeb Gazelle is a splendid one to beholdWeb Gazelle is a splendid one to beholdWeb Gazelle is a splendid one to beholdWeb Gazelle is a splendid one to beholdWeb Gazelle is a splendid one to beholdWeb Gazelle is a splendid one to beholdWeb Gazelle is a splendid one to beholdWeb Gazelle is a splendid one to beholdWeb Gazelle is a splendid one to behold
If you want to learn If statements in PHP then learn JavaScript.
__________________
W.G. ~ SEO Specialist
Federation For American Immigration Reform | Utah County Real Estate
Web Gazelle is offline  
Add Post to del.icio.us
Reply With Quote
Old 09-12-2006, 10:17 AM   #18 (permalink)
v7n Mentor
 
cimmeron's Avatar
 
Join Date: 02-16-06
Posts: 2,523
iTrader: 0 / 0%
cimmeron is just really nicecimmeron is just really nicecimmeron is just really nicecimmeron is just really nicecimmeron is just really nicecimmeron is just really nicecimmeron is just really nicecimmeron is just really nicecimmeron is just really nicecimmeron is just really nicecimmeron is just really nice
I found that looking at other people's code is helpful in understanding things, as well.
__________________
Wicked Relevant | Website Design
Affordable Web Design, too
cimmeron is offline  
Add Post to del.icio.us
Reply With Quote
Old 09-12-2006, 01:20 PM   #19 (permalink)
Member
 
Join Date: 03-14-06
Posts: 68
iTrader: 0 / 0%
Latest Blog:
None

jroxonline is liked by many
Why not buy a book that has complete PHP scripts as examples as well? Those helped me quite a bit by going through the entire process of writing the script, so you can understand the process and the logic behind it.
jroxonline is offline  
Add Post to del.icio.us
Reply With Quote
Old 09-15-2006, 07:47 AM   #20 (permalink)
Member
 
Join Date: 08-02-06
Location: Sweden
Posts: 30
iTrader: 0 / 0%
Latest Blog:
None

Litewebsite is liked by many
Send a message via Yahoo to Litewebsite
Quote:
Originally Posted by mybluehair
... I am starting on a project, and I need php lessons ...
I think the site Good PHP Tutorials could be a good starting point for learning PHP.
Litewebsite is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Coding Forum

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Want To Learn More weblover Marketing Forum 0 03-06-2007 02:51 AM
Learn CSS SN3 Web Design Lobby 6 11-09-2004 07:52 PM
The more I learn the less I know! Liam Caulfield SEO Forum 12 07-07-2004 05:59 AM


Sponsor Links
Get exposure! Contextual Links V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 07:45 PM.
© Copyright 2008 V7 Inc
Powered by vBulletin
Copyright © 2000-2009 Jelsoft Enterprises Limited.


Search Engine Optimization by vBSEO 3.3.0 ©2009, Crawlability, Inc.