WeberDev.com PHP and MySQL Code

LOG IN
BEGINNER GUIDESPHP CLASSESCODE SEARCHARTICLES SEARCHPHP FORUMSPHP MANUALPHP FUNCTIONS LISTWEB SITE TEMPLATES
Start typing to search for PHP and MySQL Code Snippets and Articles Search
Submit a code Example / Snippet Join us on FaceBook
Submit a code Example / Snippet Submit Your Code
Poker Tournaments Poker Tournaments
Poker Guide for Developers Poker Guide for Developers
Search Engine Optimization Monitor SEO Monitor
Web Site UpTime Monitor UpTime Monitor
Your Personal Examples List My Favorite Examples
Your Personal Articles List My Favorite Articles
Edit Account Info Update Your Profile
PHP Code Search
Web Development Forums
Learn MySQL Playing Trivia
PHPBB2 Templates
Web Development Resources
Web Development Content
Internet Security Software
PHPClasses
PHP Editor
PHP Jobs
Vision.To Design
Ajax Tutorials
PHP Programming Help
PHP/MySQL Programming
Webmaster Resources
Webmaster Forum
XML meta language
website builder
פרייסז - הכח לקנות עובר לידיים שלך
Texas Holdem Poker Evangelists

Go Back Add a Comment Send this example to a friend Add this Article to your personal favoritest for easy future access to your favorite Code Examples and Articles. Submit a code example Print this code example.
BACK ADD A COMMENT SEND TO A FRIEND ADD TO MY FAVORITES ADD CODE EXAMPLES PRINT
Title : complete sql to html table class.features filtering, forming variable declaration,editing,hidden params.inspired from class html_table in example table.php but bad thing it is PHP4 beta 2!! and sybase only
Categories : Databases, HTML and PHP, Arrays, Browsers, Sybase Update Picture
ilkay issevenler
Date : Jan 26th 2000
Grade : 5 of 5 (graded 1 times)
Viewed : 18837
File : enh_table.php
Images : No Images for this code example.
Search : More code by ilkay issevenler
Action : Grade This Code Example
Tools : My Examples List

Submit your own code examples  Submit your own code examples 
 

<?php
// if you enhance this class please let me know.watch out for future releases of this class..
require("bow_connect.php"); //this is used for connect_db
require("enh_table.php"); // this is the file


$connection = connect_db("carsisyb","sa","sybase","bow");

$ht = new html_table;
$ht->init_query("select itemname,itemcode
from paramtable where groupno=1");

$ht->init_connection($connection);

$ht->table_style = 'BORDER="1" CELLPADDING="0" CELLSPACING="0"';

$ht->assign_editable(1); //edits itemcode field
$ht->init_hidden(0);
//column itemname is set as an hidden parameter
$ht->init_buttonheader("zozo");
$ht->set_filter(1,">",31);
// this filter ensures displaying rows greater then 31.see function for more filters..
$z ="foo";
$ht->init_button(-1,"FDSblckbtn.gif","oldu","show_values.php","f1",$z);
// "f1 means get itemcode field as an hidden parameter.no need to define it explicitly
echo "button tanitimi oldu";
$ht->run_query();

$ht->display();



dynamic table columns
Categories : PHP, HTML and PHP, Arrays, Databases, MySQL
How to load a query result into a PHP Array
Categories : PHP, Databases, Arrays, MySQL
AITSH Guestbook
Categories : Complete Programs, HTML and PHP, Databases, MySQL
phpMyDataGrid 2007
Categories : AJAX, PHP Classes, MySQL, Databases, HTML and PHP
PHP and MySQL scripting for Muyltiple CheckBoxes
Categories : HTML and PHP, MySQL, Databases, PHP
How to pass an array from one PHP Script to another via an HTML form
Categories : PHP, HTML and PHP, Arrays
Message of the Day - Random Message (Needs MySQL!)
Categories : Databases, HTML and PHP, PHP, MySQL
AITSH Statistics
Categories : Complete Programs, Databases, HTML and PHP, Sessions, PHP
Required form fields that pull from MySQL database
Categories : PHP, HTML and PHP, Databases, MySQL
A database abstraction layer for the PHP Oracle 8 module (available from PHP 3.0.5). It supports persistent connections, fetching rows into arrays, prepare/execute (variable binding) and has a new and improved error interface.
Categories : Databases, Oracle, PHP, Arrays, Variables
Constantly refresh your PHP/HTML page data.
Categories : PHP, HTML and PHP, Sybase
Storing / Retrieving pictures from database This can be used for banner / ads exchange. very useful for people developing big portal with ads in the site........
Categories : PHP, MySQL, Databases, HTML and PHP
CSS style switcher
Categories : PHP, CSS, HTML and PHP, Arrays, Sessions
Simple PHP/3 Access Counter (using GD and DBM functions)
Categories : Databases, PHP, Graphics, HTML and PHP, dBase
Pull Down Surfing - Surf on Change
Categories : Java Script, MySQL, HTML and PHP, PHP, Databases
 godmit wrote : 251
Where the *hell* are the required files?

appears useless. no homepage link. nothing.
 
 Boaz Yahav wrote : 252
The file is attached.

Take a look at the top of the example for the attached 
file for download.
 
 Darker Sun wrote : 306
Well, one of two required files are available for download, where is the other or what does it do so I can 
write it myself?

//DS
 
 Ollie Supit wrote : 702
The other file (bow_connect.php) contains connection variables to go intothe connect_db function (ie hostname, dbnamde, username & password) specific to each implementation)
 
 Ollie Supit wrote :703
The other file (bow_connect.php) contains connection variables to go intothe connect_db function (ie hostname, dbname, username & password) specific to each implementation)