Date: 01/27/00
- Next message: garyb <email protected>: "Re: [PHPLIB] Problems when submiting a PHPLib site to Altavista"
- Previous message: leandro: "[PHPLIB] Deafult authentication ??"
- In reply to: Rex Byrns: "[PHPLIB] Using check option of the table class"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I have discovered that this code works sometimes. There seems to be some
kind of a timing issue. Sometimes the script will fail completely,
sometimes only the first file is copied.
This is driving me crazy - any ideas? Do I need to post more code?
-----Original Message-----
From: phplib-owner <email protected>
[mailto:phplib-owner <email protected>]On Behalf Of Rex Byrns
Sent: Wednesday, January 26, 2000 3:00 PM
To: Phplib <email protected> Netuse. De (E-mail)
Subject: [PHPLIB] Using check option of the table class
OK I guess I have got brain lockup. I had a routine working that produced
the following code by using "$t->check = "NUM";" -
<td class='test' border='1'><input type="checkbox" name="NUM[0]"
value="21298"></td
(The value is my index field and is correct)
I then iterated with the following:
if (isset($NUM))
#echo "Num is Set";
$db5 = new DB_Test;
$x = count($NUM);
echo "<BR>->".$NUM[0];
$i = 0;
while ($i <= ($x-1)) {
$query="select * from DRAWINGS where NUM = '".$NUM[$i]."'";
$db5->query($query);
$db5->next_record();
echo $query." <BR>";
etc . . . files are copied here......
echoing $x gives me the proper count, but if I echo $NUM[0] I get nothing.
So the query fails.
Anyone have any ideas?
Thanks in advance.
Rex Byrns
Office: 361-552-1280 ext 281
pager: 361-501-6128
email: rexb <email protected>
-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.
-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.
- Next message: garyb <email protected>: "Re: [PHPLIB] Problems when submiting a PHPLib site to Altavista"
- Previous message: leandro: "[PHPLIB] Deafult authentication ??"
- In reply to: Rex Byrns: "[PHPLIB] Using check option of the table class"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

