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
Newbie: How to install/incorporate PHP and MySQL
Old 08-06-2011, 05:40 PM Newbie: How to install/incorporate PHP and MySQL
Junior Talker

Posts: 1
Trades: 0
Hello,

I am new to MySQL. I have built small Inventroy database using MySQL work bench 5.2 on Windows 7 PC and forward engineered on MySQL Server.

I would like to know what do I need to do in install/corporate PHP with MySQL? Does MySQL already come with PHP installed.

Please give me steps to follow to be successful.

Also, does MySQL sever act a web server as well?

Thanks for your reply.
kanza17 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-06-2011, 05:43 PM Re: Newbie: How to install/incorporate PHP and MySQL
Physicsguy's Avatar
404 - Title not found

Posts: 920
Name: Scott Kaye
Location: Ontario
Trades: 0
PHP and MySQL are two different things. PHP CAN communicate with MySQL though, and it's like this:

http://www.php.net/manual/en/functio...etch-array.php

That page will show you how to connect to a DB, and grab information from it!

EDIT: As a side note, and how to install it, look at WAMP if you're on Windows, or LAMP (in the repos) if you're on Linux.
__________________
Check out my
Please login or register to view this content. Registration is FREE
or my
Please login or register to view this content. Registration is FREE
!

Last edited by Physicsguy; 08-07-2011 at 11:28 AM..
Physicsguy is offline
Reply With Quote
View Public Profile
 
Old 08-07-2011, 02:57 PM Re: Newbie: How to install/incorporate PHP and MySQL
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,384
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
Also, does MySQL sever act a web server as well?
Nope.


Quote:
Please give me steps to follow to be successful.
Start with a LOT of reading and practice for several years.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 08-08-2011, 03:43 PM Re: Newbie: How to install/incorporate PHP and MySQL
rogem002's Avatar
PHP Chap

Posts: 843
Name: Mike
Location: United Kingdom
Trades: 0
Quote:
Originally Posted by Physicsguy View Post
PHP and MySQL are two different things. PHP CAN communicate with MySQL though, and it's like this:

http://www.php.net/manual/en/functio...etch-array.php
The mysql_* functions are due to be deprecated in the next version of PHP. It would be better to use PDO to do the SQL querys (it also reduces the risk of SQL Injections).
__________________
My Blog/Site:
Please login or register to view this content. Registration is FREE
rogem002 is offline
Reply With Quote
View Public Profile Visit rogem002's homepage!
 
Reply     « Reply to Newbie: How to install/incorporate PHP and MySQL
 

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.58250 seconds with 12 queries