Posts

Showing posts with the label Using php mysql

Make Check Box And Selected Option Checked in PHP

Make multiple check box and selected option checked in php according database value. Make Selectbox checked :- SQL Query :- $GetCuisines = mysqli_query($obj->mysqli,"SELECT CuisineID,CuisineName,CuisinePic from contribu_yummy.cuisine where active=1 and deleted=0"); <select name="SelCuisineID" id="SelCuisineID" class="form-control" style="width:230px">     <option value="" class="Text" >Select</option>     <?php     while($cuisineRow = mysqli_fetch_array($GetCuisines))     {         if($CuisineID == $cuisineRow['CuisineID'])         {             $checkedCuisine = "selected='selected'";         }         else         {          ...

Auto fill textbox using jquery in php

Auto fill textbox using jquery in php. Y ou allow the user to type in a value into a Textbox and fetch values from database according that keyword.

Delete multiple rows using checkboxs in PHP

Image
Last month i am working, how to delete multiple rows from mysql using php and also active or inactive multiple selected rows. This is good one example to delete, active and inactive multiple rows in mysql using javascript and php. Preview Heritages.php If you like this or this is useful for you. Please comment us. Thank You