[FX.php List] AddSortParam line shows 0 records

Dale Bengston dale.bengston at gmail.com
Thu Jan 12 11:01:08 MST 2012


Me too, Bob. I standardized on singles around strings unless it's "\n" or applying format to a date, where double quotes are required.

Dale

On Jan 12, 2012, at 11:12 AM, Bob Patin wrote:

> It won't matter; I've mixed and matched before and not had any trouble. 
> 
> I'm trying to get in the habit of using single-quotes now; it allows you to write things like
> 
> $var = '<a href="mylink.htm">a link</a>';
> 
> Because there are double-quotes inside the link, the singles are necessary...
> 
> Bob Patin
> Longterm Solutions LLC
> bob at longtermsolutions.com
> 615-333-6858
> http://www.longtermsolutions.com
> FileMaker 9, 10 & 11 Certified Developer
> Member of FileMaker Business Alliance and FileMaker TechNet
> --
> Twitter: bobpatin
> Google+: http://www.longtermsolutions.com/plus
> AIM: longterm1954
> iChat: bobpatin
> --
> Expert FileMaker Consulting 
> FileMaker Hosting for all versions of FileMaker
> 
> On Jan 12, 2012, at 10:42 AM, BEVERLY VOTH wrote:
> 
>> well! your original had:
>> 
>> $q->AddDBParam( 'quote_id', $_GET["id"] ); // double quotes
>> 
>> perhaps it's as simple as:
>> 
>> $q->AddDBParam( 'quote_id', $_GET['id'] ); // single quotes
>> 
>> I don't think it matters, but you never know... :)
>> I'm a real stickler for consistency AND making sure that things like case are matched *exactly*.
> 
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list



More information about the FX.php_List mailing list