Print MySQL Query





ranking Sort Sort   |   date Sort Sort   |   member Sort Sort
Syndication

« Previous 1 2 3 4 5 6 7 8 9  ...  14 15 Next »
6
Date Submitted Wed. Oct. 11th, 2006 4:34 AM
Revision 1
Beginner wlasson
Tags PHP
Comments 7 comments
This is a state list I made for a website. I kept it just in case i ever needed it again, which i have. I figured it would probably help someone else out.

It includes all states in the U.S.
13
Date Submitted Tue. Mar. 6th, 2007 2:36 PM
Revision 1
Beginner wlasson
Tags "image resize" | GD | images | PHP | Resize
Comments 1 comments
This is a simple function that resizes and image using the GD add on for PHP.
Just a disclaimer: I know its not perfect, but i figured i would post it because the only other one on here is way confusing to some new PHP developers. Hopefully this one will help you learn how to use GD, and then you can write a better one.
15
Date Submitted Mon. Oct. 9th, 2006 2:49 PM
Revision 1
Scripter wiz1705
Tags classes | PHP | plugins
Comments 0 comments
Basic internal class loading for PHP. Could make some plugins with this code if used properly.
16
Date Submitted Mon. Oct. 9th, 2006 2:58 PM
Revision 1
Scripter wiz1705
Tags Array | PHP | XML
Comments 1 comments
I've seen XML 2 Array functions done in other ways but this is the shortest implementation I've seen yet. I didnt write it myself though, but I thought I'd submit it for common good of this site. It uses regex and works prefectly.
7
Date Submitted Wed. Mar. 15th, 2006 12:16 PM
Revision 1
Beginner windley
Tags cloud | movabletype | PHP | tags
Comments 0 comments
This code, working with MovableType, creates a tag cloud of tags entered into the keyword field of a blog entry. You can see the results and read my write-up which explains some other things that help with MovableType and tag clouds. I got this code from Al-Muhajabah and made a few minor tweaks. Put the PHP snippet below inside a MT template that creates a php page.
14
Date Submitted Thu. Mar. 1st, 2007 2:09 PM
Revision 1
Helper ushi
Tags ajax | Chat | JavaScript | PHP
Comments 3 comments
Simple chatting script to be placed on a corner of a website
Also a good example how to use ajax.
7
Date Submitted Wed. Apr. 4th, 2007 8:52 AM
Revision 1
Helper ushi
Tags Anti-Injection | Class | Database | mysql | PHP
Comments 6 comments
A simple MySQL class for use in PHP.
Feel free to suggest improvements.
2
Date Submitted Thu. Oct. 18th, 2007 8:32 AM
Revision 1
Beginner Tr0y
Tags PHP
Comments 0 comments
Use this to print alternating values from an array.

It cycles through a series of values based on an iteration number.

For example, you could use this for alternating background colors.
13
Date Submitted Fri. Oct. 20th, 2006 8:10 PM
Revision 1
Beginner stalfos
Tags PHP | Recursive | syntax
Comments 1 comments
Recursively checks for all *.php and *.tpl files in the directory specified (or the current directory if one is not specified) and runs `php -l $file`. Only outputs the errors.
10
Date Submitted Tue. Jul. 25th, 2006 11:39 AM
Revision 1
Beginner soccer022483
Tags PHP
Comments 2 comments
I'm trying to load an object into a session variable.
« Previous 1 2 3 4 5 6 7 8 9  ...  14 15 Next »