Login   Register  
PHP Classes
elePHPant
Icontem

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of mike condiff  >  MySQLDropDownCondiff  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: example file
Class: MySQLDropDownCondiff
Generate select input from MySQL query results
Author: By
Last change: Typo on the Class file name. I'm an idiot.
Date: 2009-02-16 18:36
Size: 297 bytes
 

Contents

Class file image Download
<?php 

require_once('SQLDropDown.php');

$theObjects = new SQLDropDown(true);

$article_category_id 1;
$sql_query 'SELECT * FROM Article_Categories';

echo 
$theObjects->sql_drop_down($sql_query,'video_category_id','category_description','category_id'$article_category_id); 


?>