PHP Classes

Use in PHP 4

Recommend this page to a friend!

      DrasticTools  >  All threads  >  Use in PHP 4  >  (Un) Subscribe thread alerts  
Subject:Use in PHP 4
Summary:Is it possible to use this grid in PHP 4
Messages:14
Author:Pankaj Singh
Date:2006-10-19 12:07:19
Update:2007-02-22 12:05:14
 
  1 - 10   11 - 14  

  11. Re: Use in PHP 4   Reply   Report abuse  
Picture of Rob Verboom Rob Verboom - 2007-01-18 20:56:37 - In reply to message 10 from Sushil Agrawal
Did anyone get this working?
I copied the last link to a php file.
It gives me a:
Fatal error: Call to undefined function: updatedata() in ... on line 4

code:
<?PHP
include("mysqlphpgrid.class.php");
$grid = new mysqlphpgrid("localhost", "root", "xxxx", "xxxx", "bk_schrijver");
$grid->UpdateData(); ?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Boeken</title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
</head>
<body >
<center>
<h1>Schrijver bewerken</h1>
</center>
<?PHP
echo $grid->ShowTable(); // to generate the html. This is the only function that generates html!!
?>
</body>
</html>

Thanks in advance for your help.
I am using php-4.4.4.

  12. Re: Use in PHP 4   Reply   Report abuse  
Picture of Carlos Carlos - 2007-02-21 21:16:00 - In reply to message 11 from Rob Verboom
Same error to me

  13. Re: Use in PHP 4   Reply   Report abuse  
Picture of dd dd - 2007-02-22 08:06:08 - In reply to message 12 from Carlos
There's a port to PHP4 of the most recent version (0.6.4) of MySQLPHPGrid on the website of MySQLPHPGrid: http://www.drasticdata.nl

It's better to use that one, if you want to use MySQLPHPGrid on PHP4.

regards,
Olav

  14. Re: Use in PHP 4   Reply   Report abuse  
Picture of Carlos Carlos - 2007-02-22 12:05:14 - In reply to message 13 from dd
Thanks Olav
It work for me.

 
  1 - 10   11 - 14