a insert query in wordpress

We can use insert query in wordpress as follows.Just take a look on query.It is quite simple as we use in php to insert data into database. <?php global $wpdb; $wpdb->prepare( “INSERT INTO `wp_submitted_form` (`name`,`email`,`phone`,`country`,`course`,`message`,`datesent`) values (‘$name’, ‘$email’, ‘$phone’, ‘$country’, ‘$course’, ‘$message’, ‘$datesent’)” ); ?> Or, use can use query in this way also <?php … Read more

how to create html5 audio player

hi guys i would like to tell you that you can use audio player in your webpage to play an audio sound using html5,css3 and jquery. To play an audio in website you can use audio tag of html5.In this demo player i have added functionality of html ,css and javascript to play an audio.

How To Hide View Source In WordPress

Hello,reader if you are interested to disable right click on your website .Then, i would like to give an idea about it that You can’t do this but only thing is that you can disable right clicks. To disable right click on your website in WordPress you can use this code as shown <body oncontextmenu=”return … Read more

Select All Checkboxes Using JavaScript

Select All Checkboxes Using JavaScript

When you have a list of checkboxes and select all option in a form then you must have to implement check uncheck all checkbox on click of select allcheckbox. In this tutorial, we are going to see how to select all Checkboxes using JavaScript. Here I am going to create a simple JavaScript function to … Read more

how to play sound in php

PHP is a processing language.It can’t play sound.But to use it dynamically we can use it as using html code. $myAudioFile = “mysong.mp3″; echo ‘<EMBED SRC=”‘.$myAudioFile.'” HIDDEN=”TRUE” AUTOSTART=”TRUE”></EMBED>’;