- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
3 Posted Topics
Using PHP you can run a MySQL SELECT query to fetch the data out of the database. You have several options in fetching information from MySQL. PHP provide several functions for this. mysql_fetch_object(), mysql_fetch_array(). [CODE]$query=select * from table_name; $query_result=mysql_query($query) or die("Sorry".mysql_error()); while($row=mysql_fetch_object($query_result)){ echo $row->name; }[/CODE]
i write query [CODE]<?php $query=select username from table_name where username=$username; $query_result=mysql_query($query) or die("Sorry there is no value" .mysql_error()); while($row=mysql_fetch_object($query_result)){ echo $row->username; } ?>[/CODE]
Drupal is a free software package that allows an individual, a community of users, or an enterprise to easily publish, manage and organize a wide variety of content on a website. How to instal. Step 1: Download the installation file from Drupal.org by choosing the latest stable version and clicking …
The End.
waseem12