Im a Begginer

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
harvesterxsoul
Forum Newbie
Posts: 2
Joined: Sat Nov 15, 2003 8:16 pm

Im a Begginer

Post by harvesterxsoul »

Im a n00b to php 8O
I got the basics down lol

Code: Select all

<?php
$username 'Harvester';
echo ' $username ';
?>
blah lol need alittle help. What next??
User avatar
Sevengraff
Forum Contributor
Posts: 232
Joined: Thu Apr 25, 2002 9:34 pm
Location: California USA
Contact:

Post by Sevengraff »

Code: Select all

<?PHP
$username = 'harvester';
echo $username;
?>
Single quotes around a variable will just print $username not harvester.
harvesterxsoul
Forum Newbie
Posts: 2
Joined: Sat Nov 15, 2003 8:16 pm

Post by harvesterxsoul »

lol thanxs im lost :(
Paddy
Forum Contributor
Posts: 244
Joined: Wed Jun 11, 2003 8:16 pm
Location: Hobart, Tas, Aussie
Contact:

Post by Paddy »

Play around in here

http://au2.php.net/manual/en/ref.strings.php

and here

http://au2.php.net/manual/en/ref.array.php

When you are a bit more comfortable with that start looking at MySQL.

Just my two cents.
Cruzado_Mainfrm
Forum Contributor
Posts: 346
Joined: Sun Jun 15, 2003 11:22 pm
Location: Miami, FL

Post by Cruzado_Mainfrm »

go to Barnes & Noble with at least $50 and buy the "PHP Bible", other's may say other books, but i recommend this one cuz it helped me a lot.
User avatar
vigge89
Forum Regular
Posts: 875
Joined: Wed Jul 30, 2003 3:29 am
Location: Sweden

Post by vigge89 »

check out the basics @ free2code.net;

http://www.free2code.net/tutorials/prog ... to_PHP.php
User avatar
infolock
DevNet Resident
Posts: 1708
Joined: Wed Sep 25, 2002 7:47 pm

Post by infolock »

if you want to learn how to use php with mysql, get PHP and MySQL Web Development from the same bookstore :) Sorry, couldn't help but post it. GREAT resource. Biggest thing though, is after you learn how to call variables both from a form, a database, and from php, just start looking at other people's code and get an understanding of how they are building their code ( http://www.evilwalrus.com is a good start ).
Post Reply