Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Begginner PhP-er with a few questions...
Old 05-09-2005, 05:14 PM Begginner PhP-er with a few questions...
Novice Talker

Posts: 9
Trades: 0
I am teaching myself PhP. I understand some of the pro's / con's of PhP - and ironically already understand a lot of the language because I know some C++ and odd programming languages.... however, even with these tools I don't quite understand the implimation of how some people use PhP.

For a forum and anything with a lot of data being sent - I grasp.

However - how exactly does PhP help control data on a website? I see sites all the time posting links and news and content - and generally it's always done with php. In terms of programming and staying up to date... how does PhP help? In laymans terms.

thanks
wakasm is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-09-2005, 05:54 PM
Republikin's Avatar
Defies a Status

Posts: 3,189
Trades: 3
Ok, in the simplest of terms PHP is nothing more than a way to access a database and manipulate the data into HTML. So say you have your php page that when viewed through the browser is nothing more than HTML. You write some code in this page to connect to a database, query the database using SQL (Structured Query Language), then retrieve the result into an array. You then loop over this array echoing each result to the browser in the form of html.

If you need a more indepth explanation let me know.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
Republikin is offline
Reply With Quote
View Public Profile
 
Old 05-09-2005, 08:02 PM
Kaiman's Avatar
Extreme Talker

Posts: 237
Trades: 0
I would add to captainwinky's description of PHP by pointing out that it is a server sided scripting language as opposed to a client sided like Javascript and HTML.

In other words, when you go to a website with a basic .htm or .html page the server justs sends the page to your computers browser (Internet Explorer, Firefox, etc). When you go to a .php page on the other hand the server first reads through the PHP code decides what actions it needs to take (ie connect to a database, and so on) and then sends the page to your computer. This enables webdesigners to develop pages that do things behind the scenes without interferring with what people see on the website they are visiting. The best example of this is the next time you log into your email account that is what is happening.

Kaiman

Website Design and Hosting - Glenwood Springs, CO
Kaiman is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Begginner PhP-er with a few questions...
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.13072 seconds with 12 queries