Design pattern

You can download all 23 patterns details here.
http://www.netobjectives.com/resources/books/design-patterns-explained/annotated-table-of-contents

Netbeans, another IDE for coder

Its tutorial to use different programming language can be found here.
http://www.netbeans.org/kb/trails/php.html
Download link is here

One of my unknown function known from Mahmud Hasan

I was reading mahmud hasan blog and found a unknown function called GROUP_CONCAT().

“GROUP_CONCAT() function is used to concatenate column values into a single string. It is very useful if you would otherwise perform a lookup of many row and then concatenate them on the client end.
For example if you query:

mysql> SELECT Language FROM CountryLanguage [...]

How to show thumbnail of an image

During development mostly we need to show images from data base or so by rescaling them but rescaling them in a way that they don’t loose the original length to width ratio.
e.g. you have an area of 500*500 pixels to show the image in following code while calling the function you will specify the target [...]

Ajax File Uploader

This class can be used to browse files uploaded via Web forms using AJAX methods to send the files without reloading the form page.
There is auxiliary Javascript code that can upload in the background a file that the users chooses in a Web page form and updates the upload message status in the page.
A server [...]

Use these functions and be quicker in development

Launch Insert
//$table= table name where you want to insert posted values
function linsert($table){
$f = ”;
$v = ”;
foreach($_POST as $field=>$value)
{
if($value!=”)
{
$f .= “$field,”;
$v .= “‘$value’,”;
}
}
$f = substr($f,0,strlen($f)-1);
$v = substr($v,0,strlen($v)-1);
$query=” insert into $table($f) values($v)”;
if(!mysql_query($query))
echo $query;
}
Launch Update
//$table=table name what you want to update
//$pk= primary key of that table
//$id= what row you want to update
function lupdate($table,$pk,$id){
$f = ”;
$v = ”;
foreach($_POST as [...]

Codeigniter, Secured, structured, modularized framework for you

Codeigniter, The right framework for security and structured, modularized web development.
Here you will see 2 video tutorials. http://codeigniter.com/tutorials/
Introduction video is here. http://codeigniter.com/tutorials/watch/intro/
Sample blog by codeifniter here. http://codeigniter.com/tutorials/watch/blog/
These helped me a lot when i started.
And this link will cover almost everything: http://codeigniter.com/user_guide/
Its wiki is further solution if you are failure to find out at user guide [...]

How to write script to bookmark site by DHTML and Javascript

<script type=”text/javascript”>
function bookmarksite(title,url){
if (window.sidebar) // firefox
window.sidebar.addPanel(title, url, “”);
else if(window.opera && window.print){ // opera
var elem = document.createElement(‘a’);
elem.setAttribute(‘href’,url);
elem.setAttribute(‘title’,title);
elem.setAttribute(‘rel’,’sidebar’);
elem.click();
}
else if(document.all)// ie
window.external.AddFavorite(url, title);
}
</script>
<a href=”javascript:bookmarksite(‘Sipapu Snow Report’, ‘/http://72.47.220.102/development/index.php?option=com_helloworld03′)”><img src=”images/fig01.jpg” title=”RSS Feed”></a>