PHP Code Snippets Tagged with mysql
(13)
This code produces a sort box for any number of arbitrary criteria on any type of data you have in your database. For this particular example we've got a product sort where users can sort by price or..
i don't think i'm the creator of this, found on HDD, last modified date is over 3 years so *shrugs* rewrote it today to be in one file ;)
Installation:
filename.php?type=setup <--- setups the tables..
yeah just a simple script that counts how many hits per day you get...... just need to add it and the database =)
«Description»
This is a login System, it has 3 files
login.php
register.php
lastmember.php
once a user has been logged in it will return him/her to the home page. to see if they are logged in..
ok, its alot like Hawkee.com's snippet but its 100% purely mine.
i'm 100% sure it works BUT i made this without mysql so i dunno if it will work. stupid mysql is stuffing up
there is an upload.php..
There is a PHP function named <i>odbc_result_all</i> which returns the query results in a table. I have frequently found it useful to have the same function for MySQL queries. This function..
A class to handle sessions by using a mySQL database for session related data storage providing better security then the default session handler used by PHP. You don't need to modify a thing in your application..
A class providing some very useful methods to work with a mySQL database. For the manual and examples on how to use the class go to <a href="http://stefangabos.blogspot.com/2006/08/zebra-php-f..
It searches through one of your databases that would contain the $search word, and gives you it's outcome.
This is a stand alone example of a review system. This is the administration page for entering and editing reviews. It'll create your table for you automatically, so all you need to do is change the..
This will download a datafeed to your server from the given FTP account. This only supports CSV datafeeds and requires a minor tweak to accomodate any other type of datafeed. It also requires that you..
This is very handy for making a yyyymmddhhmmss date look pretty.
This generates two structures: a tree and a list of objects. Both are generated from the following standard parent/child database format:
- cat_id: primary key, auto_increment
- cat_title: name of..