How to Create Image thumbnail using PHP

Last updated on April 22nd, 2022 at 10:03 amClick to rate this tutorial! [Total: 2 Average: 4]The following PHP code will create image thumbnails on the fly . We are using PHP GD2 library. You will need to make sure that you have PHP with at least GD 2.0.1 enabled. Very simple script and very […]

How to parse xml using PHP (Demo)

Last updated on February 4th, 2022 at 11:09 amClick to rate this tutorial! [Total: 3 Average: 3.3]Read xml and parse it using php and we are using simple php functions named simplexml_load_file, simplexml_load_string & SimpleXMLElement This is handy when you are working with the advanced XML features of DOM. When you are ready to move […]

Check if a variable is present in an array using shell script

Last updated on October 25th, 2014 at 09:40 amClick to rate this tutorial! [Total: 0 Average: 0]An array is like a list of elements, you can refer to specific elements in an array with indices. For instance myarray[i] refers to the i th element in an array named myarray. Here i am using korn shell. […]

How to search using MySQL prepared statement and PHP

Last updated on March 7th, 2022 at 03:56 pmClick to rate this tutorial! [Total: 2 Average: 4.5]Enabling content search is always very important for a large website especially when you have lot of pages. I am going to explain this in both regular mysqli procedural approach and also using prepared statements. This script also count […]