Hi!
I have the following problem:
From 2 text files I get 2 variables with:
$fp = @fopen ("category.txt", "r");
if ($fp) {
while(!feof($fp)) {
$lines[] = fgets($fp);
}
fclose($fp);}
The second is the same but from another file.
If I compare the 2 variables with:
if($lines[2] == $other[4]) echo "the same";
That doesn't work and I do not know why..
Can somebody help?
regards
Hi Mjdamato
Thanks for the quick reply and effort you put into it! ...I see what you mean with the text removal when check a new box...I gess its hard to to achieve that.
The code gives unfortunately a error in Dreamweaver an Frontpage and dasn't work in Explorer
I am running a datingsite where members can (with your code (the first...works great!)) easily make a quick reply or respond to a receved message.
But I am getting complaints from members who want to add something and lost theare complete message...playing with the checkboxes...duh it happens..
I am not such a great coder and hope you would like to see whats wrong.
Thanks again from:
Vink
Amsterdam
Holland
Hi,
I use this great script with joy, the only thing is when someone check a checkbox some predifined txt put in the textarea...great!.......but when someone add some text to it and uncheck the box....all the added text disapear allso..................
I can't find how to NOT disapear users own added text..
grest if somene can help
greet
Vink
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.