WeberDev.com PHP and MySQL Code

LOG IN
BEGINNER GUIDES  |  PHP CLASSES  |  CODE SEARCH  |  ARTICLES SEARCH  |  PHP FORUMS  |  PHP MANUAL  |  PHP FUNCTIONS LIST  |  WEB SITE TEMPLATES
Start typing to search for PHP and MySQL Code Snippets and Articles Search
Submit a code Example / Snippet Submit Your Code
Search Engine Optimization Monitor SEO Monitor
Web Site UpTime Monitor UpTime Monitor
WeberDev's Monthly code contest PHP Code Contest
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 Index
PHP Web Logs (BLogs)
Web Development Resources
Web Development Content
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
Submit Site
Forex Trading Online forex trading platform

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 : 12649
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 
 

<?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
Constantly refresh your PHP/HTML page data.
Categories : PHP, HTML and PHP, Sybase
Select with current month
Categories : PHP, HTML and PHP, Date Time, Arrays
html split bar used to split in multiple pages a database result
Categories : HTML and PHP, Databases, MySQL, PHP
Automatically printing the contents of an sql table in MySQL.
Categories : MySQL, PHP, HTML and PHP, Databases
Finds the median in an array of numbers - Can be used with a MySql database column read into an array
Categories : PHP, Arrays, Databases, MySQL
Pull Down Surfing - Surf on Change
Categories : Java Script, MySQL, HTML and PHP, PHP, Databases
Dynamically generated pop-ups (Select items)
Categories : PHP, HTML and PHP, MySQL, Databases
Tag content retrieval from websites with preg_match
Categories : PHP, Regexps, Arrays, HTML and PHP
Message of the Day - Random Message (Needs MySQL!)
Categories : Databases, HTML and PHP, PHP, MySQL
Sed, a coder's best friend. This lovely linux command allows you to swap strings in a file. Great for changing a variable name in a script with multiple files.
Categories : HTML and PHP, HTML and PHP
Alternating background color for HTML table rows
Categories : PHP, Databases, MySQL, HTML and PHP
A very simple way to build and do a hierarchical html categories browser without javascript , just using html php and mySql
Categories : HTML and PHP, Databases, Algorithms, PHP, MySQL
XDT Topsite (Gold v1.0)
Categories : Databases, CSS, PHP, HTML and PHP, Sessions
Functions for loading images into a MySQL database and displaying them.
Categories : Graphics, HTML and PHP, MySQL, 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)