Hi,

I made a site that uses the following code:

$id = base64_decode($go);                            // decoding ID
$DataBaseNaam = "teller";                            // name of DB
include('connect.inc.php3');                            // connection to DB
$query = "select * from kl".$id;//query
$result = mysql_db_query($DataBaseNaam, $query);    // getting ResultSet
$t=0;
while ($waarden = mysql_fetch_array($result))    // extracting ata from RS
   {
   $ip[$t] = $waarden[ip];                        // IP value (varchar) <--
This line generates the problem..?
   $datum[$t] = $waarden[datum];            // date value (integer)
   $urlprov[$t] = $waarden[urlprov];        // URL value (varchar)
   $t++;
   }

On a locale machine (using PHP4) I didn't have any problems, but on internet
(using PHP 3.0.16) I got the warning "illegal string index on line ..." I
only get this warning if I want to extract IP numbers from my DB. Does
anyone knows why I get this warning ?

Thanks,

Eelco



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to