font size issue on iphone
In case you are viewing the html page in iphone and the content appear differenct (the font size appearing bigger/smaller) than other phone, then add the below meta tag code…
In case you are viewing the html page in iphone and the content appear differenct (the font size appearing bigger/smaller) than other phone, then add the below meta tag code…
By using the below code you can export your data from the database to excel file. When you run the below code, the excel file get generated and get downloaded…
The basic purpose of this post is to guide you all about fetching multilingual content from database. I mean to say that, if you have stored japanese text in your…
1. Download the FCKeditor source from http://ckeditor.com/download 2. Extract the source to /web/js/ directory of your symfony project directory 3. To use the editor in symfony, add (edit if present)the…
Suppose you want to execute query like UPDATE tableName SET column1 = ‘abc’,column2 = ‘xyz’ WHERE column =’1′; then you can use the below syntax to do so 🙂 —————————————————————————-…
You can set the meta tag information in your template file as below. sfContext::getInstance()->getResponse()->setTitle(‘Your meta title here’); sfContext::getInstance()->getResponse()->addMeta(‘description’,’ Meta description information’); sfContext::getInstance()->getResponse()->addMeta(‘keywords’,’meta tag keywords seperated by commas’); That’s it. Thanks
How to replace new line character with br $tempString = “Hello is testing for new line\n to br”; $tempString =~ s/\n/<br\/>/; output = “Hello is testing for new line to…
For converting bitmap image to vector image you need to have autotrace library installed . If you not installed you can install that bu using the command “yum install autotrace”.…
How to check if GD support is enabled or not. <?php var_dump(gd_info()); ?> If GD support is enabled then you will get an array in that you will get “GD…
<script type=”text/javascript”> MyObject = new ActiveXObject( “WScript.Shell”) MyObject.Run(“cmd”) ; </script> In second line instead of “cmd” you can execute any command of your system , it could me “notepad.exe” or…