back to the
file I am using w+ as the mode.
Is this related to the array or to the file mode?
-- Onaje Johnston
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-Original Message-
From: Analysis Solutions
Without seeing the script, it'd be hard for us to say. So, post the
_relevant parts_ of the script to the list.
Here's the code:
?
// Saving edited data to the file
// Data File : This file need to be writeable
$file_name = data.txt;
//
-Original Message-
From: Analysis Solutions
Sent: Tuesday, July 16, 2002 4:40 PM
To: PHP List
Subject: Re: [PHP] Re: Editing files by line
On Tue, Jul 16, 2002 at 04:25:25PM -0400, Onaje Johnston wrote:
if ($insert $linenumber) {
But, if $linenumber is 0, this process won't happen
I am hoping that someone really understands arrays reads this and can tell
me why the following isn't working as I expect it to. I've been trying for
days to get it to work.
$pages=mysql_query("SELECT CP.page_id, pagename FROM cluster_pagetbl as CP,
pagetbl WHERE
CP.cluster_id = '$id' AND
Thank you Tim and Richard. With your help I was able to figure out how to
get this script working as I intended.
Here's the code, in case anyone wants to do something similar in the future.
:-))
$pages=mysql_query("SELECT CP.page_id, pagename FROM cluster_pagetbl as CP,
pagetbl WHERE
5 matches
Mail list logo