In the scenarios where validation rules provided by the Yii framework won?t handle your requirements, you can create custom validation rules. One example is the “authenticate” validation rule provided in “LoginForm” model of Yii blog demo. You can create your own by following these steps. 1. In rules() method of your model, specify name of … [Read more…]
When adopting a particular name as Wazeefah (daily recital) add (Yaa) before the name and remove the (Al). For example, (Ar-Rahmaan) must be recited as (Yaa-Rahmaanu) and NOT as (Yaa-Ar-Rahmaanu). 1. Allah (The Name of Allah) If you recite this name of Allah 1000 times daily, Allah will remove all doubts and uncertainities from your … [Read more…]
Don’t know if this will be anygood to anyone but all you do is add your URL to your website into the box or even manually add your website keywords and it comes up with a list of 100 possible keywords for your website.
In this example, we have a Cars table, as well as a Dealers table. A dealer has many cars. I want to show the (single) Dealer view, but also all of the cars that belong to this dealer in a grid on the same page. Here’s how: In your Dealer model, you should have something … [Read more…]
Namespaces were created as part of PHP 5.3 to solve certain conflicts that can arise when two different classes are given the same name. This situation comes up more commonly than you might think. This four-part series introduces you to using namespaces to solve these and similar issues. It includes copious code examples to enhance … [Read more…]
Watermarks are easy to create using three CSS style properties: background-image background-repeat background-attachment You use background-image to define the image to use as your watermark, background-repeat to make it display only once, and background-attachment to turn it into a watermark.
Brain damaging habits No Breakfast People who do not take breakfast are going to have a lower blood sugar level. This leads to an insufficient supply of nutrients to the brain causing brain degeneration. Overeating It causes hardening of the brain arteries, leading to a decrease in mental power. Smoking It causes multiple brain shrink … [Read more…]
If you?re using Master Pages in ASP.NET and trying to resolve <script> or <style> references in the page head, you may have run into this this show-stopper. If so, here?s why it?s happening, and here?s an easy way to fix it. If you?ve worked with ASP.NET Master Pages, you?ve no doubt taken advantage of automatic … [Read more…]