Qbasicnews.com

Full Version: Tutorials on php (for idiots like me =D)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Can you point me to where there's good tutorials online that can teach me alot of what there is to know on php, or at least get me started.
http://www.php.net/

look up IF THEN ELSE conditional statements in the very first search bar on the top-right. Refer to php.net for any other questions. That was one of the best ways to learn for me.

Another method is finding a PHP tagboard script. Take it apart and see what you can make out of it. That'll teach you form processing with PHP and file/database operations (which is even enough to make a simple, unsecure login/community system).

PHP is really easy, anyone with common sense can modify code (but newbies are just too timid and won't even TRY. That's LAZY). So go TRY to do something right off the bat.
Ok! Thanks... Big Grin
i found a good mysql/php tutorial at MySQL tutorial[/url]
what does it take to run PHP? IE 6.0?
to run php you need php and apache(or iis etc) installed on the server. you can set it up on your machine for offline development as well. when the browser calls a php page, the server parses it, returning only the HTML that is needed. ie (if you view the pages source, you wont see any php.
this means any browser should be able to view php pages.
eg
Code:
<?
$bob = "hello";

if ($bob=="hello") {
   print("<b>Hello World</b>");
}else{
   print("you will never see this in the source!!!");
}
?>
if you ran this page, the source would be nothing mre than
Code:
<b>Hello World</b>
www.w3schools.com

Keji, dont touch iis even if your life depended on it! Seriously, dont run it if your machine is connected to the internet.
lol

yea. its got more holes than swiss cheese (so ive heard :lol: )
apache is the way to go when you setup your localhost keji.
freeware is da bomb!!

i would also suggest downloading the php.net documentation (i like the .chm format). it has all the functions listed and searchable for super easy reference!
NO DON'T TOUCH APACHE UNLESS YOU KNOW WHAT YOUR DOING ITS A PAIN IN THE ASS TO CONFIGURE

Try xitami, www.xitami.com , thats what most newbies use, lovely server - jsut make sure the config files are write enabled.
Unless you want to/need to learn how apache/php works/installs its better to just grab a prepackaged version. I've had no probs with firepages' apache/mysql/php/perl pack.
Pages: 1 2