phpeveryday.com

The best tutorial of php, php framework, php strategies, object oriented oriented,


MySQL Basic: Selecting Data From Table in Database

Tag: mysql, database, table, select, query   Category: Mysql, PHP Basic
post: 16 Jan 2008 read: 681


MySQL Basic Step By Step Tutorial: This post is basic tutorial for who want to know how to retrieve data from mysql database. Before you read this post, you must understand about how to connect to mysql database. This post continued from this. We will still use same database.

In this practice, we create file named "select.php" within www/test/database directory (if you don't have, plese create it). Enter following code:

code for select data

Point your browser to http://localhost/test/database/select.php.

display simple


Series this article:
MySQL Basic: Selecting Data From Table in Database
phpMyAdmin: Inserting Data Use phpMyAdmin

| Give Your Opinion | Recommend
Share and Bookmark to: These icons link to social bookmarking sites where readers can share and discover new web pages.
digg del.icio.us technorati Ma.gnolia BlinkList

Recommended articles by other readers:
Web Services: How PHP Kiss VB.NET? (Part 1)
Chart: How to Build Cool Animation Real Time Chart
Joomla: Fast Road to Understand Component Programming
Email: Send Attachement Mail
mod_rewrite - Part 1: create your "fantasy" URL

What do You Think?
Your Name *:
Email *:
(Will not be published)
Website/URL:
Your Comment *:
* Required


615
posting