Checking if variable is 0 as opposed to NULL/Empty...
I'm trying to write some code that will retrieve a user's access level from my database and if it do
Help with Contact Form
I have this Form on an html page and the associated code on page.php (below).
I keep getting the
mysql UNION | warning mysql_fetch_array !!
Code: <?php
$i = 0;
$query1="SELECT * FROM `products` WHERE `div
Install page
How do I make it so when a user submits information on the Install page, it'll right it into the cor
Please help with code for SMTP authenticated PHP email form
Hello, I'm creating a PHP email form, and for this particular server, I have to use SMTP Authenticat
Extracting Long text from message class with parameters
Hi,
I would like to extract the long text from a message class. However, the long text ha
Cache PHP Objects/Classes?
Does anyone have ideas about caching PHP objects using something like: http://memcached.org/
Is it a good practice to store user info. in sessions?
I am making a user class for my script which stores all the user information in sessions. It takes u
Typedef struct vs just struct
Anyone know the rationale for using typedef for structs when a struct is itself a typedef? I have s
Procedural to OOP
John Kleijn said that to avoid writing "crappy code", we should learn OOP and common OO pr