Category Archives: PHP

xampp apache not starting in windows7

if I m clicking on the xampp only mysql starting apche not starting its like below Please uninstall skype if skype is running in your machine. or if you are logged in with skype please logout. After doing above things and issues still exist, please change the apache server port number from 80 to 8080… Read More »

Passing more parameters from an input element to jquery function

Show and hide checkbox using jquery

Regex validation for integers, with leading zeros

Below script will validate the numbers using regex it will allow 0 1 it will not allow 00,0000,01, 02 etc. Regex using javascript

Regex using PHP

group_concat function not returing all values in mysql–it returns some values with one comma at the end.

If you execute the below code and try to execute the query through phpmyadmin/php script. it will return only few records not all records. you can use the below files,db sructure to check the issues database table- create a table inside the db called ‘test’

# index.php

#connect.php

To get proper values… Read More »

Removing a special character at the end of a Label using jquery/javascript

Removing the symbol * from the label using jquery

Disable and Enable a Div and input elements inside the div

Calling an ajax function inside a function

if ajax call return data to a function we should use async:false otherwise it will not work.if we you are not giving async:false in the ajax headers it will not return any value.

Submitting an entire form fields to php page using ajax

Compare two arrays using php