What is the easiest way to practise using PHP and mySQL? - Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more
Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more
Go Back   Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more > Webmaster Tech > Programming > PHP Development

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 01-20-2010, 04:38 AM   #1 (permalink)
Junior Member
 
Join Date: Jan 2010
Posts: 2
Default What is the easiest way to practise using PHP and mySQL?

I want to start using PHP and mySQL to help me with my work. Does anyone know if and how I can set up somewhere locally on my computer or something where i can test my pages and database as if it were live on a web server?
Jessicahamil is offline   Reply With Quote
Sponsored Links
Old 01-20-2010, 06:04 AM   #2 (permalink)
Member
 
Join Date: Dec 2009
Posts: 260
Default Re: What is the easiest way to practise using PHP and mySQL?

Build Your Database driven websites by learning PHP and MySQL. Here is nice PHP and MySQL Guide for Beginners .
Hope this will help you
Ankit87 is offline   Reply With Quote
Old 01-20-2010, 03:04 PM   #3 (permalink)
Junior Member
 
Join Date: Nov 2009
Posts: 32
Default Re: What is the easiest way to practise using PHP and mySQL?

i also just started learning php.I always used to study in groups and helps a lot.Is there anybody who are about to start learning php?
we can report our progress everyday here.
kumar1985 is offline   Reply With Quote
Old 01-21-2010, 12:05 PM   #4 (permalink)
Junior Member
 
Join Date: Jan 2010
Posts: 2
Default Re: What is the easiest way to practise using PHP and mySQL?

Quote:
Originally Posted by kumar1985 View Post
i also just started learning php.I always used to study in groups and helps a lot.Is there anybody who are about to start learning php?
we can report our progress everyday here.
thank you..

evden eve nakliyat
nakliyat34 is offline   Reply With Quote
Old 01-21-2010, 05:01 PM   #5 (permalink)
Regular User
 
Join Date: Jan 2010
Posts: 23
Default Re: What is the easiest way to practise using PHP and mySQL?

It depends what you want to do - LAMP or WAMP.
nice123 is offline   Reply With Quote
Old 01-28-2010, 07:22 AM   #6 (permalink)
Junior Member
 
Join Date: Jan 2010
Posts: 49
Default Re: What is the easiest way to practise using PHP and mySQL?

Download XAMPP ( apache for friends ). This is a complete solution for php / mysql / apache web server.

Start developing a small address book, with names and telephone numbers. Create an admin section too. This is also called control panel.

Once you create this simple address book add sessions, so that once you are idle for about 5 min you have to log in again to view data. Make it more authentic by adding validation etc.

Hope this helps.
Cynthiya is offline   Reply With Quote
Old 08-05-2010, 04:01 AM   #7 (permalink)
Junior Member
 
manzar's Avatar
 
Join Date: Jul 2010
Posts: 53
Default Re: What is the easiest way to practise using PHP and mySQL?

you are using a Windows based PC, you should download WAMP (Windows Apache MySQL PHP) package.It will install everything for you and create an environment for you to begin learning to develop in.
if you want to learn or practice PHP and MySQL try ti visit w3school.com.
manzar is offline   Reply With Quote
Old 08-19-2010, 01:44 AM   #8 (permalink)
Junior Member
 
Join Date: Aug 2010
Posts: 23
Default Re: What is the easiest way to practise using PHP and mySQL?

Hi, As we know that PHP is Server Side Scripting Language that, help for making Dynamic Web Application. before going to implementation you must install like WAMP
[Window + Apache + MySql + PHP].

PHP Script Run on Server through Web Browser. and here we mention code That's help you for PHP connection with MySql Just see them Login Script

<?php
if(isset($_POST['posted']))
{
$name=$_POST['dir_username'];
$pass=$_POST['dir_password'];
$connect=mysql_connect('localhost','root','');
$db=mysql_select_db('dir_db',$connect);
$query=mysql_query('SELECT * FROM dir_login',$connect);
while($row=mysql_fetch_array($query))
{
$column1=$row['username'];
$column2=$row['password'];
if($column1 == $name && $column2 == $pass)
{
header('location:registration_dir.php');
}
else
{
echo('Sorry Username and password is mismatch');
exit();
}
}
}

?>

<form name="index_dir" method="post" action="index_dir.php">
<table align="center" border="">
<tr>
<td>
<b style="background-color:#063">USERNAME</b>
<input type="text" name="dir_username" value="USERNAME" style="background-color:#966">
</td>
</tr>
<tr>
<td><b style="background-color:#063">PASSWORD</b>
<input type="password" name="dir_password" value="*****" style="background-color:#966">
</td>
</tr>
<tr>
<td><input type="hidden" name="posted" value="true>"></td>
<td>
<input type="submit" name="dir_submir" value="GO" style="background-color:#063">
</td>
</tr>
</table>
</form>
and is you have doubt then just mention here, I'll try to solve it.
sandy_j_sam is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

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



» Sponsors

» Links

» Affiliates
Web Hosting
Online Backup Reviews
Marketing Find
Merchant Select
SiteMap Builder
Host Compare

» Links

» Sports Network
Paintball Forum
Football Forum
Hockey Forum
Golf Forum
Boxing Forum
Lacrosse Forum
Baseball Forum
SnowBoarding Forum
Soccer Forum
MMA Forum


All times are GMT -4. The time now is 04:55 PM.


Powered by vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.2
Webmaster Forums
Web Hosting | Chicago Web Hosting | Web Hosting