Archive for the ‘PHP’ Category
Sunday, May 30th, 2010
This tutorial describe how to make the data row as the column in the flexigrid implementation with codeIgniter.
for the view you should dispaly following code in main page:
Use z-index in the case table and other entity overlap the flexigrid table and so it is invisible. You can set ...
Posted in PHP | No Comments »
Friday, December 18th, 2009
Add print button in flexgird grid in your Controller.
You should define print css in your flexigrid css.
$buttons[] = array('separator');
$buttons[] = array('Print','print','printReport');
Now, you should define printReport javascript function in end of the page of view associated with the page.
New tab for print is opened with hiding unwanted css and by location.reload(); ...
Posted in PHP | 5 Comments »
Sunday, June 1st, 2008
You are using email validation with link and if you have database field like status to activate, inactivate and suspend.
www.sitename.com/activation.php?id=$userid
Let status 0 means inactivated, 1 means activated and 2 means suspended.
You have the code like
<?
$id=$_GET[‘id’];
$update=”update user set status=’1’”;
$qry->queryUpdate($update);
?>
If user is suspended and he again type link in address ...
Posted in PHP | 1 Comment »