[PHP] variables empty

2001-04-17 Thread Dennis Haller
Hi all, I've got this problem with variables. In the code below I've got the variables: $jaar and $vak, if I echo them they r displayed correctly, but if the function unlink is called it doesnt seem to know what $jaar and $vak are. If I do $the_path = "/home/H0RNET/ftp/jaar1/PRO/"; then the funct

Re: [PHP] Only 5 lines (now with the right script :/ )

2001-03-22 Thread Dennis Haller
s; $i++) > meaning 0,1,2,3,4,5 which is 6 lines, simply set your $i=1 and it should be > correct. > > Let me know. > I did execute your script off of my server and resulted in only 1 line printing > the value of "1" nothing else > > Jack > > Dennis Haller

Re: [PHP] Only 5 lines

2001-03-22 Thread Dennis Haller
[PHP] Only 5 lines > 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! > > > "&quo

[PHP] Only 5 lines (now with the right script :/ )

2001-03-22 Thread Dennis Haller
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

[PHP] Only 5 lines

2001-03-22 Thread Dennis Haller
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