Add 1 to a field * Cinema Guy 05:34 Add Comment Edit Question How do I turn the following 2 queries into 1 query $sql = "SELECT level FROM skills WHERE id = $id LIMIT 1;"; $result ... Read More
Better Random Generating PHP * Cinema Guy 20:18 Add Comment Edit Question I know that just using rand() is predictable, if you know what your doing, and have access to the server. I have a project that ... Read More
Accessing a CONST attribute of series of Classes * Cinema Guy 15:58 Add Comment Edit Question This is how I wanted to do it which would work in PHP 5.3.0+ <?php class MyClass { const CONSTANT = ... Read More
Locking a SQL Server Database with PHP * Cinema Guy 10:36 Add Comment Edit Question I'm wanting extra security for a particular point in my web app. So I want to lock the database (SQL Server 2005). Any suggesti... Read More
Version control PHP Web Project * Cinema Guy 09:46 Add Comment Edit Question We have a php project that we would like to version control. Right now there are three of us working on a "Dev" version o... Read More
How to sell Python to a client/boss/person with lots of cash * Cinema Guy 09:43 Add Comment Edit Question When asked to create system XYZ and you ask to do it in Python over PHP or Ruby, what are the main features you can mention when th... Read More
How to easily consume a web service from PHP * Cinema Guy 22:48 Add Comment Edit Question Is there available any tool for PHP which can be used to generate code for consuming a web service based on its WSDL ? Something c... Read More
How to include PHP files that require an absolute path? * Cinema Guy 20:46 Add Comment Edit Question I have a directory structure like the following; /script.php /inc/include1.php /inc/include2.php /objects/obje... Read More