Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

PHP, FX.php, Filemaker - problems with AddDBParam

Featured Replies

  • Newbies

Hi! I have a problem with FX.php and I couldn't solve it yet.

...

$conn->AddDBParam ('C

Try "Codigo%20Postal".

Good Luck.

Garry

  • Author
  • Newbies

Thanks for your reply. I already got a query result, but I still can't show data. An example:

...

$myQuery->AddDBParam('C

Try:

print ("<tr><td>" . $codpostal . "</td></tr>");

Good Luck.

Garry

  • Author
  • Newbies

Hi again and thanks for your fast reply. I tried what you said, but I didn't work. I also tried with other fields with '

I guess the trick is to see what is actually stored as the key to the Associative Array. That is:

$result['data'][$recordID][?]

If you can print/echo these keys to the screen it may indicate how the string is stored.

The recode_string() php function may be useful.

All the best.

Garry

Try dumping the associative array $result right after making the call to Find as such:

$result = $myQuery->FMFind();

// Debugging Stuff Follows

print_r ($result); // -- Dump $result to the screen for debugging

exit; // -- Halt the script

// End of Debugging

This will give you a good look at what you are returning from your query.

regards...

Bob Minteer

  • Author
  • Newbies

Cheers! I forgot that option!! Oh well, I did that and I got $result's array structure... and found out that "C

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.