Bajaj

Drupal 7 : How to add Class to the Table for Any Theme

Easiest way is to put the following in your template.php of your current theme. Replace THEME with your current theme name. [crayon-5bcc31dbbc7ed004021119/] and if you want striped tables: [crayon-5bcc31dbbc7f7629564636/] and don’t forget to clear the cache 🙂Read more …

Extract is your friend

Use of extract function, For example, generally how we use varibles. $name = $_REQUEST[‘name’]; $surname = $_REQUEST[‘surname’]; $message = $_REQUEST[‘message’]; So, instead of defining as above , we can use extract($_REQUEST); Will automatically make $name = $_REQUEST[‘name’]; So, you can say “hello “.$name.” “.$surname.” without doing all the declarations.Read more …
Harrisonm

Unzip folder/files on Server/Panel Using Script

Sometime ! some Server is not provide ability to “unzipped” folder/files facility. so,we want to upload all files from FTP.   But here i am attaching one files which name is “unzip.php” . you just upload in root and change your zip name in file code.    For example : – ...Read more …