Still doesnt work, I think the problem is that the $content exist out of 1
array. So u cant limit it like in a SELECT query. The script sees the
content of that array as 1 and therefor can not be splitted.
THx for ure afford
"Jack Sasportas" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED
I'm guessing you are getting an extra blank
If you get a result back in $headlines = sizeof($content) of 5, then you have 5
lines, but in your script you have the value of $i as ZERO ($i = 0; $i <
$headlines; $i++)
meaning 0,1,2,3,4,5 which is 6 lines, simply set your $i=1 and it should be
co
Thx Michael, but as u can see I already posted a new msg cause I copy pasted
the wrong script :)
THx for ure reply
- Original Message -
From: ""Michael Bartlett"" <[EMAIL PROTECTED]>
Newsgroups: php.general
Sent: Thursday, March 22, 2001 1:52 PM
Subject: Re:
The question I asked before was for this script:
http://nu.nl/deeplink_html", "r");
$read = fread($open, 1000);
fclose($open);
$search =
eregi("nieuws.hoofd(.*)nieuws.overig<
/B>", $read, $printing);
$printing[1] = str_replace("", "", $printing[1]);
$printing[1] = str_replace("", "", $printin
if this message duplicates - sorry. some weirdness on my news client!
dennis, i think your limit should read 0,4
because 0 is actually row 1 (we count from 0 not 1)
so limit 0,4 gives you rows 0,1,2,3,4 - which is 5!
not 4!
""Dennis Haller"" <[EMAIL PROTECTED]> wrote in message
99cs5b$bj4$[EMAI
surely it should be limit 0,4
(0,1,2,3,4) = 5 items!
remember 0 is row 1 not 1
""Dennis Haller"" <[EMAIL PROTECTED]> wrote in message
99cs5b$bj4$[EMAIL PROTECTED]">news:99cs5b$bj4$[EMAIL PROTECTED]...
> Hi all, im using the following scripts:
>
> include("connect.php");
>
> $query = "SELECT thre
Hi all, im using the following scripts:
";
$numOfRows = mysql_num_rows ($result);
for ($i = 0; $i < $numOfRows; $i++){
$threadid = mysql_result ($result, $i, "threadid");
$posts = mysql_result ($result, $i, "title");
$postusername = mysql_result ($result, $i, "postusername");
ec
7 matches
Mail list logo