Now I get the output:
(in html, if you get a mail, you get the real output.)
Welcome!
Welcome!
Notice: Undefined index: text in C:\pub\include\btml.php on
line 13
"Pavel Jartsev" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Bas wrote:
> >
> > ...
> >
> > echo ";
> >
>
> Se
Bas wrote:
> ...
>
echo ";
>
Seems that U don't have closing double-quote (") in line above.
It should be:
echo "";
--
Pavel a.k.a. Papi
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I am trying to make an BTML-parser.
(BTML-Some Markup Language invented by Me)
I have 3 files:
read-tags.php:
---
\s*([^<]*)\s*!is";
preg_match_all($tag_match, $filedata, $matches);
for ($i=0; $i< count($matches[0]); $i++) {
$tagname = $matches[1][$i];
$tags[$tagname] = $matches[2][$
3 matches
Mail list logo