im new to this as well as php

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
arsoniztonfyre
Forum Newbie
Posts: 2
Joined: Mon Sep 29, 2003 6:52 pm

im new to this as well as php

Post by arsoniztonfyre »

i know im being annoying posting this up, but I found this site on a search and I read some of it and found it interesting so can you tell me a little bit on what it is? Thanks, and sorry if I bothert you.
Cruzado_Mainfrm
Forum Contributor
Posts: 346
Joined: Sun Jun 15, 2003 11:22 pm
Location: Miami, FL

Post by Cruzado_Mainfrm »

if you really want to know what is PHP go buy a book, if you don't like math or you don't like using your logic very much probably this isn't for you, programming requires hard thinking :D

by the way, i suggest you buy PHP Bible (a php book) from which i learnt a lot.
if you don't know anything about web servers or protocols or whatever like that i suggest that's the first thing you should know, also you cannot possibly learn PHP before learning HTML, if you want to learn php you can buy a book of HTML preferably of versions 4.0 or higher.
You can learn HTML here: http://www.w3schools.com/
Unipus
Forum Contributor
Posts: 409
Joined: Tue Aug 26, 2003 2:06 pm
Location: Los Angeles, CA

Post by Unipus »

You can't learn PHP without learning HTML? What a funny thing to say.

I'll agree that it probably wouldn't be terribly useful to learn PHP without knowing HTML, but tying the two together like that is wrong. Ideally, you'll learn how to use them separated as far from each other as possible.

Anyway, he seems to not even know what PHP is. It's a server-side scripting language that can interact with web users and databases to create some pretty sophisticated dynamic applications, such as shopping carts, webmail systems, content management systems, and so on.

I can recommend another book: PHP and MySQL Web Development by Welling and Thomson.
arsoniztonfyre
Forum Newbie
Posts: 2
Joined: Mon Sep 29, 2003 6:52 pm

Post by arsoniztonfyre »

oh alright. thanks
Cruzado_Mainfrm
Forum Contributor
Posts: 346
Joined: Sun Jun 15, 2003 11:22 pm
Location: Miami, FL

Post by Cruzado_Mainfrm »

ok i take back what i said but it will be hard to program if you don't even have a base, PHP doesn't depend on HTML but it returns HTML(Most of the times doesn't it?) :D
McGruff
DevNet Master
Posts: 2893
Joined: Thu Jan 30, 2003 8:26 pm
Location: Glasgow, Scotland

Post by McGruff »

I'd agree that a good knowledge of internet technologies - including html - is pretty vital for php programmers.

Arsonizt: if you're interested in programming, php might be a good place to start. It's a very easy language to learn - you'll find pretty much all you need online - and has a lot in common with other languages if you move on to something else later.

Php's main use is to build dynamic web sites: the php script runs on the server retrieving information from a database (usually) and outputting it to the browser. This forum uses php. Each new page request will trigger a script which fetches the latest posts from a databse.
User avatar
DuFF
Forum Contributor
Posts: 495
Joined: Tue Jun 24, 2003 7:49 pm
Location: USA

Post by DuFF »

Unipus wrote:You can't learn PHP without learning HTML? What a funny thing to say.
How is that a funny thing to say? If you want to make a website you have to have at least a basic knowledge of HTML. Good luck programming a site when you don't even know what a form or a table is.
User avatar
cybaf
Forum Commoner
Posts: 89
Joined: Tue Oct 01, 2002 5:28 am
Location: Gothenburg Sweden

Post by cybaf »

How is that a funny thing to say? If you want to make a website you have to have at least a basic knowledge of HTML. Good luck programming a site when you don't even know what a form or a table is.
In theory php doesn't have return a website, but it could generate a textfile or whatever you want it to... but again, it would be hard to have some user interface without using html :)
Cruzado_Mainfrm
Forum Contributor
Posts: 346
Joined: Sun Jun 15, 2003 11:22 pm
Location: Miami, FL

Post by Cruzado_Mainfrm »

well, if you have set html_errors to on then you'll be seeing those <font> tags that may be annoying to you, just because you don't know what it means
and by the way, in my opinion learning php without knowing html is like jumping two steps, or worse, skipping the whole staircase...
Nay
Forum Regular
Posts: 951
Joined: Fri Jun 20, 2003 11:03 am
Location: Brisbane, Australia

Post by Nay »

Yeah, I agree. I learn HTML, CSS, Javascript. I tried ASP after Javascript but I was just too not-my-type. I got onto PHP after a friend of mine recommended it to me. Now I'm learning PHP and MySQL, XHTML, XML and XSL.

But yeah, skipping steps is not a good choice actually. I actually tried it when a non-geeky person that I know wanted to get into PHP - without ever having knowlegde of anything webby. He went O_o after a while and gave up.

If you don't want a sensation of "wtf!!! :@" at times with PHP, you might want to learn HTML and Javascript first. Then learn PHP. Learning Javascript helped me a lot when I am learning PHP.

Well, that's my opinion.

-Nay
Post Reply