Re: Newbie needs help! '>' closing PHP Tag
| From: | Marc Johnson | Date: | Tue, 15 May 2001 18:51:57 +0000 |
| Subject: | Re: Newbie needs help! '>' closing PHP Tag | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-52908@lists.php.net to get a copy of this message | ||
My bad..
Typical am error. I have concurrent dev locations for my documents (one
live/one test) since the live side is the only connected to PHP/SQL I have
been doing my dev there.
Of course I was a) seeing the problem in HomeSite (which will close the tag
in its browe window) and b) reading the wrong damn page (the test side).
After pulling my hair out for an hour, I have since deleted my test folders
and moved them to the live side and learned Homesite will not support PHP
tags (until I get in there and mess with it).
Thank you for you help though...
Marc
"Its when you think you really know what your doing things get all *&%$ed
up" - George Carlin
"Jack Dempsey" <dempsejn@georgetown.edu> wrote in message
news:3B0177CC.DFC95A70@georgetown.edu...
> Marc:
>
> > should not close php
> ?> will
>
> can you paste in the script so i can see what you mean?
>
> -jack
>
> Marc Johnson wrote:
> >
> > Greetings fellow devs!
> >
> > I am new to PHP (having tried my hand at running ASP/SQL here at the
house.
> > No, I didnt chose ASP, it just happened to be the software I had when I
> > decided to mess with dynamic content.
> >
> > My problem is probably really simple. I am learning to use PHP via
online
> > documents and the first examply I am trying to implement is a simple
clock.
> > My script is fine up to the point I have:
> >
> > if ($hours > 12) {
> > $hours=$hours-12;
> > $ampm="PM";
> > }
> >
> > The '>' prior to 12 closes my '<?php' tag and the results return
> > 12)
{...
> > on.
> >
> > If there a way I can use the greater-then and NOT close the damn tag?
> >
> > Any help would be greatly appreciated. (As well as any links to good
> > tutorials/code examples for any aspect of using PHP/MySQL/Apache).
> >
> > Thanks in advance,
> >
> > Marc
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-general-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>