[FX.php List] FMPHP API
Andrew Denman
adenman at tmea.org
Fri Jul 28 13:59:06 MDT 2006
Don't know about your first question, but for the second one, it looks like
you want to break the string on the spaces. Check out strtok():
http://us3.php.net/manual/en/function.strtok.php
Andrew Denman
-----Original Message-----
From: fx.php_list-bounces at mail.iviking.org
[mailto:fx.php_list-bounces at mail.iviking.org] On Behalf Of AC
Sent: Friday, July 28, 2006 2:51 PM
To: FX.php Discussion List
Subject: [FX.php List] FMPHP API
Anyone know if this API will grab both value fields from value lists
that are based on 2 fields ex.
The "Company" value list uses the fields "IDCompany" and "CompanyName".
In FX only the IDCompany is returned.
Does this API return both values?
Also, assuming I had MyVariable = "316 Dell"
I can use the function strstr(MyVariable, " ")
to get the "Dell" part by itself but to get the 316 I'm currently doing
substr(MyVariable, 0, strcspn(MyVariable, " "))
Is there an easier way to get the 316 by itself (assuming it could also
be text)?
_______________________________________________
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