Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
PLEASE ANY HELP WOULD BE APRICIATED
Is there a limit on the amount of times you can call a class? I am using the following code to creat a PDB Database for my palm, using PHP-PDB (http://php-pdb.sourceforge.net/). If the routing loops less than 500 it works fine, but if I loop more then 500 it just hangs within the loop....
The (i) variable detemines the amount fo records to be created........
The code is:Code: Select all
include 'php-pdb.inc';
$pdb = new PalmDB("data", "7491", "CRMData");
for($i=0;$i<=800;$i++)
{
$toload="A".$i;
$pdb->AppendString($toload);
$pdb->AppendInt8(0);
$pdb->RecordAttrs[$pdb->GoToRecord()] |= PDB_RECORD_ATTRIB_DIRTY;
$pdb->GoToRecord('+1');
echo $toload."<br>";
}
$pdb->Attributes |= PDB_ATTRIB_BACKUP;
$pdb->DownloadPDB('Data.pdb');Santiago
Everah | Please use
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]