Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 6616 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I'm looking for some basic instruction on creating a SQL/ODBC query from a web page.

Below is sample from the ODBC/JDBC forum using PHP.

Mostly I am uncertain how to code the client location. I am also unfamiliar with how the remaining objects need to be coded(odbc_exec,odbc_fetch etc.).

What I really need is a simple primer or tutorial on connecting to FileMaker ODBC data via the web using SQL.

Can anyone help?

PHP example:

<?php

$conn = odbc_pconnect(client, user, password);

$sql = 'SELECT * FROM Companies WHERE clientnumber=10100';

$rs = odbc_exec($conn, $sql);

$row = odbc_fetch_array($rs);

print_r($row);

?>

This topic is 6616 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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