First PHP site - thanks - euca_phpmysql function library
| From: | Donovan Brooke | Date: | Tue, 08 Feb 2011 21:58:21 +0000 |
| Subject: | First PHP site - thanks - euca_phpmysql function library | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-311220@lists.php.net to get a copy of this message | ||
Hello,
Just wanted to say thanks to those that helped me get through my first PHP project (over the last month).
As is with much of the work we server-side language people do, the back-end (non-public) side of this site is perhaps the more interesting.
However, here is the link to the site:
http://www.impactseven.org/
They have full control over the content in the admin pages, and much
of this content will soon change as I simply copy/pasted some of their old site's content to the database fields.
btw, I7 is a great source for working capitol if you are in the need, and if you are in Wisconsin, USA. ;-)
Also, for good karma ;-), here is a link to a small function library containing just a few (mostly MySQL) functions that I created for this site:
http://www.euca.us/downloads/euca_phpmysql.zip (4KB)
(if used, please keep the 'www.euca.us' credit in place)
It has 4 functions:
dbconnect
global_id
list_formvars
list_vars
You can read all about them in the file, but here is the basic rundown.
dbconnect - basic connection/error reporting for MySQL
global_id - If you've ever run into data relations changing between
related tables, you may want to look into this one. ;-)list_formvars - list all request vars (for testing) with the option to
display only certain matched vars.list_vars - list all set vars (for testing) with option to display only
certain matched vars.The later two I usually post either at the end of the page, or at the end of page within <!-- --> for testing/development purposes. Lastly, I'm sure I will add to this library as time goes by, but if you find that you've used it and made changes, drop me the file so I can learn as well. Thanks again!, Donovan -- D Brooke