Monthly Archives: January 2011

Detect if a form is submitted

If a form has not been submitted yet, you’ll get an error message if you try to get the values of the form. (Unlike in ASP, which just returns an empty string.) To detect if a user form has been … Continue reading

Posted in Uncategorized | Comments Off on Detect if a form is submitted

Mirosoft SQL Server vs. MySQL Server

Note to self: Minor difference between the TOP command in MSSQL and MySQL equivalent. — MS-SQL / SQL-Server SELECT TOP 10 * FROM ExampleTable WHERE Active = 1 ORDER BY Id DESC — MySQL SELECT * FROM ExampleTable WHERE Active = … Continue reading

Posted in sql | Tagged , , | Comments Off on Mirosoft SQL Server vs. MySQL Server

PHP File uploading of Large Files in MAMP PRO

If you want to upload large files and your MAMP setup is not working and giving you an error message (in my case, the $_FILES variables were not being even set), check some parameters in your PHP.INI file. In MAMP … Continue reading

Posted in Uncategorized | Tagged , , , | Comments Off on PHP File uploading of Large Files in MAMP PRO