How to get last inserted id in PHP MySql

If we insert a row into a mysql table that contains an AUTO_INCREMENT column, we can retrieve the value stored into that column by using the PHP function mysql_insert_id(). so we no need to create separate query to read the newly inserted value. What is differences between LAST_INSERT_ID() and mysql_insert_id()? The reason for the differences […]

JavaScript to scroll the text vertically like reel

Continuous announcement scroller JavaScript will create a simple text scroller using javascript. it’s not a simply message display instead the message will scroll vertically from bottom to top like roller and many message display at the same time. Display the text announcement one at a time with no break between the first and last. we […]

PHP Split a string by string using explode method

php explode — Split a string by string Returns an array of strings, each of which is a substring of string formed by splitting it on boundaries formed by the string delimiter. Example 1 <?php $example  = “example1 example2 example3 example4 example5 example6″; $result = explode(” “, $example); echo $result[0]; // example1 echo $result[1]; // […]

Simple C#.Net Encryption and Decryption for String

There are many ways is there to encrypt and decrypt the data in c#.Net. In this post we have simple sample code to implement the cryptography algorithm in C#.Net to encrypt and decrypt information, either passwords or connection strings. This code uses the System.Security.Cryptography namespace to do the encryption and decryption. Please find the code […]

WordPress 3.4 release

Word Press is a free and open source blogging tool and publishing platform powered by PHP and MySQL. It is often customized into a content management system) .It has many features including a plug-in architecture and a template system. Word Press Lead Developer Ryan Boren committed the changes to make Word Press trunk 3.4 alphas, […]

WordPress Onclick Popup plugin

One easy way to send your visitors a welcome message, notice, or advertisement is to add this popup plugin to your site. WordPress on-click Popup plugin will create a popup message to your website. The popup will appear on text click so it is named on-click popup. Sometimes it’s useful to add a popup to […]

Proudly powered by WordPress   Premium Style Theme by