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
Share |
  #1 (permalink)  
Old 09-10-2006, 11:22 AM
Member
Latest Blog:
None

 
Join Date: 05-18-06
Posts: 110
iTrader: 0 / 0%
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.
 
Reply With Quote
  #2 (permalink)  
Old 09-10-2006, 11:32 AM
Avinash's Avatar
v7n Mentor
Latest Blog:
None

 
Join Date: 08-23-06
Location: Jungles
Posts: 1,682
iTrader: 0 / 0%
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
__________________
"Neo, sooner or later you're going to realize just as I did that there's a difference between knowing the path and walking the path."

-
Morpheus (The Matrix)
 
Reply With Quote
  #3 (permalink)  
Old 09-10-2006, 12:06 PM
megamoose's Avatar
v7n Mentor
 
Join Date: 06-04-06
Location: Amsterdam
Posts: 543
iTrader: 2 / 100%
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
__________________
Mark Wylde
(PHP, MySQL, ASP, ASP.NET, HTML5, CSS3, jQuery, JavaScript)
 
Reply With Quote
  #4 (permalink)  
Old 09-11-2006, 12:11 PM
Member
Latest Blog:
None

 
Join Date: 08-19-06
Posts: 117
iTrader: 0 / 0%
You might also what to try the actual PHP site I think its php.org or something like that.
 
Reply With Quote
  #5 (permalink)  
Old 09-11-2006, 03:57 PM
Net-Margin's Avatar
Member
Latest Blog:
None

 
Join Date: 06-01-06
Location: United Kingdom
Posts: 74
iTrader: 0 / 0%
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. =]
 
Reply With Quote
  #6 (permalink)  
Old 09-11-2006, 04:04 PM
Avinash's Avatar
v7n Mentor
Latest Blog:
None

 
Join Date: 08-23-06
Location: Jungles
Posts: 1,682
iTrader: 0 / 0%
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
__________________
"Neo, sooner or later you're going to realize just as I did that there's a difference between knowing the path and walking the path."

-
Morpheus (The Matrix)
 
Reply With Quote
  #7 (permalink)  
Old 09-11-2006, 04:07 PM
Net-Margin's Avatar
Member
Latest Blog:
None

 
Join Date: 06-01-06
Location: United Kingdom
Posts: 74
iTrader: 0 / 0%
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.
 
Reply With Quote
  #8 (permalink)  
Old 09-11-2006, 04:57 PM
Avinash's Avatar
v7n Mentor
Latest Blog:
None

 
Join Date: 08-23-06
Location: Jungles
Posts: 1,682
iTrader: 0 / 0%
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.
__________________
"Neo, sooner or later you're going to realize just as I did that there's a difference between knowing the path and walking the path."

-
Morpheus (The Matrix)
 
Reply With Quote
  #9 (permalink)  
Old 09-11-2006, 06:46 PM
Member
Latest Blog:
None

 
Join Date: 03-14-06
Posts: 68
iTrader: 0 / 0%
phpfreaks.com has some great tutorials on php.
__________________
Free Affiliate Marketing Software:
JROX.COM Affiliate Manager
 
Reply With Quote
  #10 (permalink)  
Old 09-11-2006, 06:57 PM
cimmeron's Avatar
Contributing Member
 
Join Date: 02-16-06
Posts: 2,524
iTrader: 0 / 0%
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...
 
Reply With Quote
  #11 (permalink)  
Old 09-11-2006, 07:00 PM
Avinash's Avatar
v7n Mentor
Latest Blog:
None

 
Join Date: 08-23-06
Location: Jungles
Posts: 1,682
iTrader: 0 / 0%
Quote:
Originally Posted by cimmeron
have a cookie...
__________________
"Neo, sooner or later you're going to realize just as I did that there's a difference between knowing the path and walking the path."

-
Morpheus (The Matrix)
 
Reply With Quote
  #12 (permalink)  
Old 09-11-2006, 07:02 PM
cimmeron's Avatar
Contributing Member
 
Join Date: 02-16-06
Posts: 2,524
iTrader: 0 / 0%
 
Reply With Quote
  #13 (permalink)  
Old 09-11-2006, 08:38 PM
Web Gazelle's Avatar
v7n Mentor
 
Join Date: 03-08-05
Location: Utah
Posts: 941
iTrader: 0 / 0%
If you want to learn If statements in PHP then learn JavaScript.
__________________
W.G. ~ SEO Specialist
Affordable Shared Hosting | Automatic Knives
 
Reply With Quote
  #14 (permalink)  
Old 09-12-2006, 09:17 AM
cimmeron's Avatar
Contributing Member
 
Join Date: 02-16-06
Posts: 2,524
iTrader: 0 / 0%
I found that looking at other people's code is helpful in understanding things, as well.
 
Reply With Quote
  #15 (permalink)  
Old 09-12-2006, 12:20 PM
Member
Latest Blog:
None

 
Join Date: 03-14-06
Posts: 68
iTrader: 0 / 0%
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.
__________________
Free Affiliate Marketing Software:
JROX.COM Affiliate Manager
 
Reply With Quote
  #16 (permalink)  
Old 09-13-2006, 05:08 PM
Member
Latest Blog:
None

 
Join Date: 05-18-06
Posts: 110
iTrader: 0 / 0%
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?
 
Reply With Quote
  #17 (permalink)  
Old 09-13-2006, 05:41 PM
digiweb's Avatar
Contributing Member
 
Join Date: 04-07-06
Location: Manchester, NH
Posts: 722
iTrader: 1 / 100%
that works if you put all of it in message.php and you're running on a server that supports php.
 
Reply With Quote
  #18 (permalink)  
Old 09-15-2006, 06:47 AM
Member
 
Join Date: 08-02-06
Location: Sweden
Posts: 30
iTrader: 0 / 0%
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.
 
Reply With Quote
  #19 (permalink)  
Old 09-19-2006, 10:46 PM
Junior Member
 
Join Date: 09-19-06
Posts: 1
iTrader: 0 / 0%
I you decide to get some books, I recommend a combination of these 2: Learn PHP 24hours and PHP5, your visual blueprint for creatin open source, server side content.
 
Reply With Quote
  #20 (permalink)  
Old 09-19-2006, 11:06 PM
Avinash's Avatar
v7n Mentor
Latest Blog:
None

 
Join Date: 08-23-06
Location: Jungles
Posts: 1,682
iTrader: 0 / 0%
Quote:
Originally Posted by mybluehair
so whats wrong?
Did you try again as CB said?
__________________
"Neo, sooner or later you're going to realize just as I did that there's a difference between knowing the path and walking the path."

-
Morpheus (The Matrix)
 
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 Off
Pingbacks are Off
Refbacks are Off


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


V7N Network
Get exposure! V7N I Love Photography V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 06:02 AM.
Powered by vBulletin
Copyright © 2000-2013 Jelsoft Enterprises Limited.
Copyright © 2003 - 2013 Escalate Media LP




Search Engine Optimization by vBSEO 3.6.0 RC 2 ©2011, Crawlability, Inc.