Showing posts with label with. Show all posts
Showing posts with label with. Show all posts

Saturday, July 2, 2016

PHP Delete Data From MySQL with Confirmation

This tutorial shows you that how to Delete rows From MySql database table and How to set JavaScript Powered Confirmation Message, When you click  or press delete link a confirmation message will appear and make sure to delete the selected data or not from MySql Database table  , When You press yes on confirmed messege it will delete the data if not it will do nothing with the data.


Read more »

HTML5 Form Validations with Pattern Matching

This is another Client Side Validation method No JavaScript or jQuery needed, Thanks to HTML5 because validations can now be done using HTML5 without coding of javascript or any server side language, using HTML5 you can validate forms with pattern, Forms must be validate either using client side or server side because it helps you to collect correct data or valid form values from the users, you cannot trust users blindly, let’s see it.
HTML5 Form Validation with Pattern Matching
Read more »

Tuesday, June 21, 2016

Text Messaging With PHP

This post will discuss about a php script and with it how can you send text messages with PHP.Though you can use mail() function to send text messages.But you need to have a carrier for a given phone number.That is not always possible.So here is an alternative method.

Continue Reading at DavidWalsh...

Simple jQuery Add Update Delete with PHP and MySQL

In this tutorial we will cover a simple Insert, Update and Delete using jQuery, PHP and MySQL with PDO, well we have lot's of CRUD tutorials on this blog but we haven't jQuery CRUD tutorial yet, and few email requests i received from readers regarding jQuery Insert, Update, Delete with PHP MySQL, so here in this tutorial we will do it, using jQuery to perform such operations become easy and for the better user interface bootstrap is here i have used, let's start.
Simple jQuery Insert, Update, Delete with PHP & MySQL
Read more »

Sunday, June 19, 2016

Flatfile Database Manager PHP Script Manage Flatfile Database With This PHP Script

A flat file is a file that contains records. Each record is specified in a single line. Fields from each record may either have a fixed width, or may be delimited by commas (CSV), tube (|), whitespace, tabs, or any other character.
Flat File Database Manager will allow you to manage (update/delete/add) records in your flatfile database.
Note: Currently flat files of fixed field width are not supported. Features:
  • user defined delimiter (usually pipe, colon, or comma (|:,)
  • customizable presentation of different data types. Following data types supported:
    • LIST - Rendered as list box or combo box.
    • STRING - Rendered as regular input field.
    • LOGICAL - Rendered as check box (flag).
    • TEXT - Rendered as text area.

    Download Flatfile Database Manager PHP Script

Saturday, June 18, 2016

File Upload and View With PHP and MySQL

We already have a Simple File Uploading tutorial in this blog and now This tutorial demonstrates how you can upload a files using PHP and Store uploaded file into the MySQL Database . With PHP it's easy to upload any files that you want to the server, you can upload MP3 , Image , Videos , PDF etc... files, this will also help you that how can you fetch uploaded files from MySQL Database and view them on Browser, so let's take a look.
File Upload and View with PHP and MySQL
Read more »

Friday, June 17, 2016

Creating a Simple Pagination Script using PHP PDO with jQuery

hi there, this tutorial will cover creating a simple pagination script using PHP MySQL with jQuery, i have used here "bootpag - jQuery plugin for dynamic pagination" this plugin is easy to use which creates dynamic pagination with jQuery using PHP, when we have number of records in MySQL table, we must paginate them, we already have a pagination tutorial using PHP OOP and PDO without jQuery, now in this tutorial i have used jQuery which makes pagination easy, so before proceed you can see live demo of jQuery pagination or you can download and try it, have a look.
Creating a Simple Pagination Script using PHP PDO with jQuery
Read more »

How to Select Deselect all Checkboxes with jQuery

In this tutorial i am going to explain you that how to do “Select / Deselect all checkboxes using jQuery”, Most of newbie learners face this issue that how to select all and deselect all checkboxes of any needable forms , this one is simple script but yet useful, hence we can also select checkbox values individually but we frequently need this type of snippets to perform multiple operations, like gmail you can select all emails and perform any operations it have, so this will guide you that how to use jQuery to select and deselect all checkboxes, and at the end of this tutorial we will also see that how to get selected (multiple) checkboxes value and print them so have a look.

How to Select all / Deselect all Checkboxes with jQuery
Read more »

Thursday, June 16, 2016

PHP OOP CRUD Tutorial with MySQL part 2

In my previuos tutorial CRUD Operations Using PHP Oops and MySql ,it was simple Object Oriented Concepts for beginners , A better programming must follow object oriented principals , and Now this tutorial goes advance and some different from previous one , this tutorial contains one crud file that handles such operations like create , read , update and delete , this part 2 tutorial also easy to learn , so let's take a look.

PHP OOP CRUD Tutorial with MySQL part-2
Read more »

Monday, June 13, 2016

How to Create Pagination with PHP PDO using OOP

In this tutorial we will see that how to create Pagination with PHP, PDO using OOP concept, when we have number of records in database then we must Paginate the data, this is very Simple tutorial using PDO and OOP without using Ajax or jQuery it is based on pure PHP, i have created one class file using that class file you can make Pagination of database records and this class file featured with next and previous links based on the page.
How to create Pagination with PHP, PDO using OOP
Read more »

Saturday, June 11, 2016

Fetch Data from Multiple Tables with PHP MySQL

This tutorial is about, how to JOIN more than one tables in PHP using SQL join statement and without join statement, how to display results from MySQL database and show them in proper format, The act of joining two or more tables in MySQL refers to combine two or more tables into a single table, let's take a look.


Read more »

Thursday, June 9, 2016

Saving State Between Function Calls with the static Statement

Local variables within functions have a short but happy life they come into being when the function is called and die when execution is finished, as they should. Occasionally, however, you may want to give a function a rudimentary memory.
Lets assume that we want a function to keep track of the number of times it has been called so that numbered headings can be created by a script. We could, of course, use the global statement to do this, as shown in Listing below:
<?php
$num_of_calls = 0;
function numberedHeading($txt) {
global $num_of_calls;
$num_of_calls++;
echo "<h1>".$num_of_calls." ".$txt."</h1>";
}
numberedHeading("Mobile Phones");
echo "<p>We build a fine range of mobile phones.</p>";
numberedHeading("Camera");
echo "<p>Also Digital Cameras.</p>";
?>


Wednesday, June 8, 2016

Easy Ajax Image Upload with jQuery PHP

In this tutorial we have a simple script which will Upload an Image using jQuery Ajax with PHP, we have simple file uploading tutorial on this blog but how about using ajax, it is very simple to upload an image to the server via jQuery ajax() without refreshing the whole page, once an image was uploaded it will be viewed on the same page. PHP code was used at the back-end which will select and upload an image and the uploading process will be done by jQuery ajax() method, let's take a look.
Easy Ajax Image Upload with jQuery, PHP without Page Refresh
Read more »

Saturday, June 4, 2016

Aardvark Topsites PHP Create A Digg Like Voting Site With This PHP Script

A topsites list ranks a group of related sites by popularity. Webmasters join the topsites list and are given a button to put on their site and link back to the topsites list. Aardvark Topsites PHP is a free topsites script built on PHP and MySQL. It is licensed under the GNU General Public License so it will always remain completely free. Its functionality compares favorably with other free and commercial scripts, including these key features:

Stats

  •     Counts pageviews, hits in, and hits out
  •     Stats for individual members and overall stats for the entire list are easily accessible

Security
  •     Robust anti-cheating protection
  •     A security question, CAPTCHA, and other layers of protection thwart spambots

Easy to use and customize
  •     Simple 4-step installation process
  •     Control every aspect of the script from the secure admin area
  •     100% customizable skins using only HTML and CSS (no PHP knowledge is required)
  •     Members easily access their account and view statistics in an integrated control panel
  •     Works on nearly all commercial web hosting plans
  •     Having trouble? Try the detailed manual or the active support forum

Cool, innovative features
  •     Members ranks can be shown on their buttons, along with any other stat
  •     SEO-friendly links make your topsites list rank higher in Google and other search engines

Download Aardvark Topsites PHP Script

Thursday, June 2, 2016

PHP PDO CRUD Tutorial using OOP with Bootstrap

In this tutorial we will see that how to create database CRUD operations using Object Oriented concept in PDO with Bootstrap framework, i have used here Bootstrap framework for front-end design and the MySQL database operations will done by PDO and OOP, recently i have posted pagination tutorial using PDO and OOP and one of my blog reader request me to post that how to use OOP concept to create CRUD operations in PDO, so in this tutorial i I'm going to explain OOP with PDO using Bootstrap framework.
PHP PDO CRUD tutorial using OOP with Bootstrap
Read more »

Wednesday, June 1, 2016

Top Site PHP Script Create a Top PHP Site With This PHP Script

This script lets you create a PHP top site easily.
Here is some characteristics of this top site:

  •     Easy Administration with the possibility to accept and reject web sites
  •     The visitors can vote one time per hour per web site
  •     You can reset votes
  •     Very Configurable
  •     Commented Source Code
  •     Using CSS3 Properties
  •     Valid (X)html strict 1.0
Demonstration Of A Top Site

Download PHP Top Site Script


Tuesday, May 31, 2016

User Registration and Login Script with PHP and MySQL

In this tutorial we will discuss about how to create user registration and login management system with PHP and MySQL in simple procedural way. user registration and login system is most important thing for any kind of web applications and session plays important role in this type of system, for that we have to use session, In this tutorial, we are going to use PHP sessions to keep user login status, here is live demo of this script or you can also download this script, so how to do it let’s see in detail.
User Registration and Login Script with PHP and MySQL
Read more »

Sunday, May 29, 2016

Ajax Registration Script using jQuery with PHP and MySQL

This tutorial will show you how to create Ajax Signup form with jQuery using PHP MySQL and PDO. this will also guide creating a simple registration form using BootStrap, in most of websites you might have seen a registration form which accepts data from users and store into MySQL database without page refresh, this tutorial will also cover an important jQuery Validation part, proper validation using jQuery and database connectivity using PHP, you can look at live demo and try it yourself from the given download link, let's take a look.
Ajax Registration Script using jQuery with PHP and MySQL
Read more »

Thursday, May 26, 2016

Code A Simple PHP Contact Form With A Reply To Option

Today I will show to how to code a Contact form in PHP Which also has a Reply To feature.It is very simple to do so using combination of HTML and PHP.

The Code for the form is given below:

Form Code:
<form action="procesar_form.php" method="post" name="formulario" id="formulario" onsubmit=return validarFormulario()>
<label for="nombre">Nombre </label>
<input type="text" name="nombre" id="nombre" size="60"/>

<label for="apellido">Apellido </label>
<input type="text" name="apellido" id="apellido" size="60"/>

<label for="email">Email </label>
<input type="text" name="email" id="email" size="60"/>

<label for="comentarios">Comentarios</label>
<textarea name="comentarios" id="comentarios" cols="44" rows="10"></textarea>

<input type="button" name="enviar" id="enviar" value="Enviar" onclick="validarFormulario()" /></textarea>

</form>

PHP Code
$email = $_POST[email];


$to = xyz@gmail.com;
$subject = Contacto Us;
$message = Name: . $_POST[name] . " " .
Surname: . $_POST[surname] . " " .
Email: . $_POST[email] . " " .
Comments: . $_POST[comments];
$headers = From: $email . " " .
Reply-to: $email . " " .
X-Mailer: PHP/ . phpversion();


mail($to, $subject, $message, $headers);


header("Location: ../../index.html");

Just put it all together and you are ready to go.I hope you enjoyed this free php script

Enjoy!

Monday, May 23, 2016

How to use jQuery Bootstrap DataTables with Example

Hello friends, today in this tutorial we will discuss about jQuery DataTables, Bootstrap a How-to tip, DataTables is a powerful jQuery plugin for creating dynamic tables which provides sorting, searching, records per page and pagination feature without any configuration. it's useful to create dynamic tables and you can use it in your projects, Before proceed please take a quick look of the live demo of jQuery DataTable, let's code
How to use jQuery Bootstrap DataTables with Example
Read more »