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 : Free For All Links Page using PHP3 and Mysql
Categories : PHP, MySQL, Complete Programs Update Picture
Jeroen Roeper
Date : May 14th 1999
Grade : 3 of 5 (graded 5 times)
Viewed : 10300
File : Php3_ffa.zip
Images : No Images for this code example.
Search : More code by Jeroen Roeper
Action : Grade This Code Example
Tools : My Examples List

  Submit your own code examples 
 

Everyone knows them, FFA links pages. Some of you hate them some
don't.

For thos who want one. This is a complete program using PHP3 and a
table in a Mysql database to maintain a FFA links page.

FEATURES:
- Maximum number of links in category configurable.
- Sends email to submitter or administrator. (disabled by default)
- Checks email addresses
- Double entries not possible.


Here's the Mysql dump for the table:

CREATE TABLE links (
id mediumint(8) DEFAULT '0' NOT NULL auto_increment,
name varchar(75) NOT NULL,
email varchar(120) NOT NULL,
link varchar(255) NOT NULL,
linktitle varchar(85) NOT NULL,
category varchar(40) NOT NULL,
datestamp datetime DEFAULT '0000-00-00 00:00:00' NOT NULL,
PRIMARY KEY (id),
KEY datestamp (datestamp)
);


Have Fun...

Jeroen



bookmarker - PHP, PHPLIB, MySQL WWW based bookmark manager
Categories : MySQL, PHP, MySQL, Complete Programs, Databases
Accepts a database & hostname from a user and then HTTP username and password. Uses this to connect to a MySQL database. Produces a form based on the tables it finds there to allow the user to do SELECTs, INSERTs, and DELETEs.
Categories : Databases, PHP, MySQL, Complete Programs
phpAds, a complete banner and ad management system with detailled tracking and stats.
Categories : MySQL, Complete Programs, Ecommerce, PHP, Databases
Point and Click Interface ala MS Access for creating SQL statements.
Categories : MySQL, Complete Programs, General SQL, PHP, Databases
phpCards - PHP/mySQL postcard script with web based admin to add, edit, and delete cards and categories. Very easy to install.
Categories : PHP, Complete Programs, HTML and PHP, MySQL
Tropicalm Genetree Family (MySQL based family tree)
Categories : PHP, Interfaces, Databases, MySQL, Complete Programs
Web Self Service Resource Scheduler Using php3 and MySQL
Categories : PHP, Complete Programs, MySQL
Shopping Basket On-Line Ordering System.
Categories : Complete Programs, MySQL, PHP, Ecommerce, Databases
Example voting script. Lets people enter suggestions and vote for existing ones.
Categories : MySQL, PHP, Cookies, Complete Programs, Databases
fforum fumanchi forum MySQL treestructure
Categories : Complete Programs, PHP, MySQL
Simple Mini Poll class library (SimPoll)
Categories : PHP, PHP Classes, Databases, MySQL, Complete Programs
Browse a MySQL database & draw a tree view & load final items into a template page.
Categories : MySQL, Complete Programs, Algorithms, PHP, Databases
free, search engine, indexing, system, information, web, ftp, http, free, software, cgi, php, MySQL, database, php3, FreeBSD, Linux, Unix, UdmSearch
Categories : MySQL, Complete Programs, PHP, Databases, Search
Shopping Cart e-Commerce Solution
Categories : Complete Programs, PHP, MySQL, Databases
phpHoo2 (Xhoo using php3/MySQL) is a Yahoo-like link directory. Much like the Open Directory Project (dmoz.org).
Categories : PHP, Complete Programs, Directories, MySQL, URLs
 Anon wrote : 8
Not working archie, and PLEASE, submit a link to some kind of demo/test-page.
 
 Jeroen Roeper wrote : 9
Why is it not working???

It runs smoothly at my site. Take a look at 
http://www.tracksonline.com/links/links.php3

Remember to configure the variables in 
LinksAdmin.php3.

Jeroen.
 
 Mike Grant wrote : 46
Works great! Spambot-proof too! 
 
 Tor wrote : 47
Keep getting parsing error at line 12 (the array) of the admin script. Any idea?
 
 Billford Me wrote : 75
The $PageTitle variable isn`t terminate,  add a semi-
colon
 
 Rainer wrote : 114
hm... doesn`t seem to run that "smoothly" (http://www.tracksonline.com/links/links.php3):

"Fatal error: Unable to open F:\users\trackson\www\htdocs\links\links.php3 in - on line 0
No input file specified."
 
 Jeroen Roeper wrote : 115
The example isn`t working because I recently moved to 
another host provider.  Not everything is moved yet! 
Sorry...
 
 kristoph wrote : 207
I tried installing this at www.inside-beat.net and it 
worked fine for the first 4 links, but after that, it`s not 
displaying any more links, but they are showing up in 
the MySQL database
 
 mind loot wrote :510
$num = MYSQL_NUMROWS($result); always seems to return

Warning: Supplied argument is not a valid MySQL result resource in /host/w/w/w/m/i/n/www.mindloot.com/test/links.php on line 25