You are here: Technology, Web & Business Forum
: Web Development
: Programming
:
How to connect MYSQL Data base on a webserver with a PHP Script or page?
|
Welcome to the Technology, Web & Business Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| Programming Discuss programming languages such as .NET, PHP, PERL, ASP, ColdFusion, C++
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
|||
HI,
I have a website and i want to connect a database in order to get form data saved into it. Want to do it using PHP. Now i am looking or the basic connection process. Not the SQL syntax for queries but only to establish the connection.
__________________
Postgraduate Study In London|| Diploma In Hospitality Management|| Mba Colleges In London |
|
|||
|
|||
Use this function in PHP:
mysql_connect() syntax: mysql_connect(servername,username,pass… example: <?php $con = mysql_connect("localhost","peter","abc12… if (!$con) { die('Could not connect: ' . mysql_error()); } // some code ?>
__________________
ac compressor |
|
|||
|
|||
Hi, Backgammon is one of the oldest board games of skill Backgammon is a 2-player game of skill where each player initially has 15 checkers on a board consisting of 24 spaces or points. The checkers are moved according to the rolls of the two dice. Each player has to to bring his own checkers in the home area and bear them off before his opponent, hitting and blocking the opponent's checkers along the way. 'How to Play Better Backgammon is extremely useful for those who play backgammon online. And I can recommend you a good Backgammon Site to help you recording Top Score in this game. If you play Backgammon for fun, here's your opportunity to 'spice-up' the game and use your skill to try and win some money! Thanks ____________________ |



Linear Mode
