RE: [PHP] Extra (persistant) tier

2005-06-24 Thread Leila Lappin
there is no advantage in doing that in terms of performance or maintenance. -Original Message- From: Richard Lynch [mailto:[EMAIL PROTECTED] Sent: Thursday, June 23, 2005 11:41 PM To: Leila Lappin Cc: Evert | Rooftop; PHP-Users Subject: RE: [PHP] Extra (persistant) tier On Wed, June 22, 2005 8:35 pm

RE: [PHP] Extra (persistant) tier

2005-06-22 Thread Leila Lappin
When I worked with other OO languages, I usually designed my persistent business objects in two levels. A level (lower level) designed and implemented direct database calls. Each database table had a class abstraction at this level which provided the database calls for saving, loading and etc.

RE: [PHP] Problem with array

2005-06-17 Thread Leila Lappin
Try this I think it will work. $count = count($arry); for ($i=0; $i$count; $i++) { // do something with $array[$i] } cout($array) brings back the number of elements in the array which limits the lookup index. -Original Message- From: Rick Emery [mailto:[EMAIL PROTECTED] Sent:

[PHP] Problems escaping apostrophe, please help

2005-06-10 Thread Leila Lappin
Hello all, I hope this hasn’t been answered a zillion times already, I've tried everything I know and nothing has worked. The following is the PHP statement and the HTML rendering. The apostrophe is displayed as is and breaks the browser. May be I am wrong but I was under the impression that

[PHP] Problems escaping apostrophe, please help

2005-06-10 Thread Leila Lappin
Hello all, I hope this hasn’t been answered a zillion times already, I've tried everything I know and nothing has worked. The following is the PHP statement and the HTML rendering. The apostrophe is displayed as is and breaks the browser. May be I am wrong but I was under the impression that

RE: [PHP] Re: Getting help on using the PHP lists

2005-06-10 Thread Leila Lappin
Have you tried changing the subscription options through the website? I think you can do it by just checking the type of list you're interested in subscribing. -Original Message- From: Jim Elliott [mailto:[EMAIL PROTECTED] Sent: Friday, June 10, 2005 4:24 PM To:

RE: Re[2]: [PHP] Problems escaping apostrophe, please help

2005-06-10 Thread Leila Lappin
Hi, I solved the problem by using htmlspecialchars and passing it ENT_QUOTES. But I'll try your way as a more general way too. Thanks -Original Message- From: Tom Rogers [mailto:[EMAIL PROTECTED] Sent: Friday, June 10, 2005 8:36 PM To: php-general@lists.php.net Cc: Leila Lappin Subject

RE: [PHP] Blank page in browser

2005-05-17 Thread Leila Lappin
Blank page usually means there was an error during parsing of PHP. The error will be in the error.log file under apache. Find that file and check it, it'll show you what happened. -Original Message- From: Nayeem [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 17, 2005 4:42 AM To:

RE: [PHP] beginner needs help!

2005-05-12 Thread Leila Lappin
Will this work? ?php $string = Export..date(mdy)..txt; echo $string; ? -Original Message- From: Clinton, Rochelle A [mailto:[EMAIL PROTECTED] Sent: Thursday, May 12, 2005 12:55 PM To: php-general@lists.php.net Subject: [PHP] beginner needs help! Dear Much Needed Advisor, I am