Lunarpages Web Hosting
 
Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read Web Directory

Go Back   Webmaster Forum > Designing and Developing Websites > Programming > PHP / MySQL

PHP / MySQL Discussions and help on PHP and MySQL.

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 01-17-2008, 02:47 AM
untikoplus untikoplus is offline
WMG Newcomer
 
Join Date: Jan 2008
Posts: 30
iTrader: (0)
untikoplus is on a distinguished road
Default PHP and MySQL must be used together?

I'm a newbie on this topic, so my apologies if I do this kind of questions.

Basically my question is if PHP and MySQL must be used together? I want to learn php to start coding my websites with it, but is it really needed to learn MySQL to use PHP too?

Please explain this to me, I'm really confused
Reply With Quote
Sponsored Links
Register and sign in to hide this ad block

  #2 (permalink)  
Old 01-17-2008, 03:12 AM
alexd181 alexd181 is offline
WMG Resident Alien
 
Join Date: Jan 2008
Posts: 104
iTrader: (0)
alexd181 is on a distinguished road
Default

Not at all. I started learning php using it as a standalone tool, I used it only for include functions and setting page variables to co-ordinate display data (eg. this page='a' and then would add if this page == a display x etc.)

Simple things. But mySQL really enriches the potential of PHP. However with mySQL you just have to learn about databases and how to make queries, it's not too difficult.
Reply With Quote
  #3 (permalink)  
Old 01-17-2008, 10:21 AM
itsols itsols is offline
WMG Newcomer
 
Join Date: Dec 2007
Posts: 4
iTrader: (0)
itsols is on a distinguished road
Default PHP+MySQL Dpends on your requirement

The issue is not whether PHP should be used with MySQL. Rather it is what you need to get done.

If you want to create a standard website to create a 'presence', you only need html with some images. There's no talk about anything like PHP and MySQL.

On the other hand, if you need to build a serious web application, like a sales site, job site, ad site, etc., yes, these tools should be your first choice.

First let us know what they are:
PHP: It is a server-side scripting language, that is used to do some sort of processing and send them out to the client (your local web browser). So all php programs run on the web-server and you only see the results of it on the browser.

MySQL: One of the worlds most popular and powerful database servers. It acts as a central data store. It could be data about anything - employees, products for sale, weather info, currency info, mailing list, etc. This software must also run on a web-server.

This typically means that your web-hosting server MUST support both of them. And it is common to find APACHE servers with them.

PHP is a language, just like VB, C and Pascal are languages. You should therefore take time and learn it well.

If you are a Windows user, you can obtain WAMP5 Server to run on XP. This allows you to develop, test and launch PHP+MySQL applications without an actual host.

If on the other hand you like a Linux flavour, I'd advice Ubuntu - it's free.

Happy coding.
itsols (Khalid)
Reply With Quote
Reply


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

All times are GMT. The time now is 08:34 PM.



Freelance Web Designers
Work At Home Forum
Ad Marketplace
Online Deals and Bargains
iPower Hosting Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.0.0