Ken Pooley wrote:
> closing brace in...still same error ( I think it was in before I didn't cut
> far enough)...is twalk part of Midgard, or is it a function named/defined a
> this point? Is there anyone else who might see this afresh and see it right
> away...maybe I will send this to the user list too...just a shot....this was
> a silly little thing but it is becoming personal...IT WILL WORK!
>
> <font size="-2"><b>Location:
> <? function twalk($id) {
> if (!$id || !($t = mgd_get_topic($id))) return;
> twalk($t->up);
> if ($t->id>17) {
> printf('/<a href="http://theology.sewanee.edu" class="smallnavi"> soft </a>
here the line should be:
printf('/<a href="http://theology.sewanee.edu" class="smallnavi"> soft </a>');
> }
> else
> {
> printf('/<a href="/topic/%d.html"
> class="smallnavi">%s</a>'.$t->id,htmlentities($t->name));
and this printf:
printf('/<a href="/topic/%d.html"
class="smallnavi">%s</a>',$t->id,htmlentities($t->name));
^
notice the comma here ___|
> }
> if ($topic) { twalk($topic->up); ?> / &(topic.name); } else echo 'top
this one should read:
if ($topic) { twalk($topic->up); ?> / &(topic.name); <? } else echo 'top
> level topic'; ?>
> <? } ?>
> <br>
>
> returns parse error at the line with the second printf
>
> kp
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
--
Best Regards,
David Guerizec Free Software Developer
Aurora R&D [EMAIL PROTECTED]
Midgard core developer http://www.midgard-project.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]