RE: [PHP-DB] Question: For no results
| From: | Ford, Mike | Date: | Fri, 03 Dec 2004 15:37:43 +0000 |
| Subject: | RE: [PHP-DB] Question: For no results | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-37556@lists.php.net to get a copy of this message | ||
To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm
On 03 December 2004 15:26, Stuart Felenstein wrote:
> --- "Ford, Mike" <M.Ford@leedsmet.ac.uk> wrote:
>
> > Well, your taste seems to be to use { }, so :-endif is irrelevant.
> >
> Alright it's Friday, I'm punchy but we're all in a
> good mood !
>
> Yes, I like the closing curlies
>
> So, then where do these lovely ladies go here ?
>
> if ($row_rsCS == false) {
?>
> <p align="center"><strong><?php print_r ("No Matches
> Found");?>
> </strong></p>
<?php
> exit;
> }
Just put the PHP tags in as indicated and you'll be good to go.
Cheers!
Mike
---------------------------------------------------------------------
Mike Ford, Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Headingley Campus, LEEDS, LS6 3QS, United Kingdom
Email: m.ford@leedsmet.ac.uk
Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211