Help needed with problem !

From: Date: Mon, 07 Aug 2000 09:07:29 +0000
Subject: Help needed with problem !
Groups: php.general 
Request: Send a blank email to php-general+get-10607@lists.php.net to get a copy of this message
Hai, Can somebody help me with my problem. I'm inserting my data trough an *.tab file which uses as an enter. when i'm displaying my news item he will not show an <BR> but . How can I replace the into <BR>. I put this into my *.tab file ; fd = fopen ("news.tab","r"); while (!feof($fd)) { $buffer = fgets($fd, 4096); if(preg_match("/(\d+)\t([^\t]*)\t([^\t]*)\t([^\t]*)/i", $buffer, $parts)){ echo "sample: $parts[1]"; $parts[1] = ADDSlashes(nl2br(HTMLentities($parts[1]))); and then my query. Greetings, Vadee

« previous php.general (#10607) next »