Login   Register  
PHP Classes

File: demodisplay.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Vick  >  PHP Search  >  demodisplay.php  >  Download  
File: demodisplay.php
Role: Example script
Content type: text/plain
Description: disp.
Class: PHP Search
Search for data MySQL tables and show the results
Author: By
Last change:
Date: 9 years ago
Size: 634 bytes


Class file image Download
Basic example of the record display file<br>
you need to custumise this<br><br>
<center><table border=0>
require_once ("config.inc");

mysql_select_db($DATABASENAME,$db)or die(mysql_error());
$sql="Select * FROM $table WHERE $pk = '$id' ";
$result=mysql_query($sql$db)or die(mysql_error());
$ligne mysql_fetch_array($result)){