SELECT clients.id, (SELECT Count(clients_job.id) FROM clients_job WHERE clients_job.client_id = clients.id ) AS JobCounter FROM clients ORDER BY EPONIMIA ASC
Author Archives: Prosoxi.com Webmaster
How to Disable Indexing in Thunderbird 3
The first time you start up Thunderbird, you notice that it’s indexing your emails and feeds. If you do not think indexing is going to do you any good. You can disable it.
PHP regular expressions examples
A simple method of validating an IP address using PHP and regular expressions <? $string = “255.255.255.255”; if (preg_match( ‘/^(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:[.](?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}$/’, $string)) { echo “IP address is good.”; } ?>
Disable Virus Auto-check in Firefox 3
Please be sure you are downloading safe files. This virus check is put in for a reason and should only be disabled if you are confident you know what you are doing. Type about:config in the Firefox address bar Now filter the following browser.download.manager.scanWhenDone Set the parameter to False Now, Firefox wont slow down after …
PHP mysqli::set_charset
In connection file add the following lines $mysqli = new mysqli($hostname_###,$username_###,$password_###,$database_###); $mysqli->query(“SET NAMES ‘utf8′”);
How to Create a First Shell Script
How to Create a First Shell Script Shell scripts are short programs that are written in a shell programming language and interpreted by a shell process. They are extremely useful for automating tasks on Linux and other Unix-like operating systems. A shell is a program that provides the traditional, text-only user interface for Unix-like operating …