You may use include() or require() or include_once() or require_once() whatever you want. You may also use either a relative path or absolute path for faq757.php.
For example, suppose that you installed FAQ 757 under faq757/ directory and that you are going to use it in a script support.php which is under support/ directory.
So, the directory structure is like this:
./faq757/ ./faq757/faq757.php ./faq757/admin/ ... ./support/index.php ...
Then, you will be including faq757.php in support/index.php like this:
<?php ... include( "../faq757/faq757.php" ); ... ?>
To confirm that you included FAQ 757 correctly and that FAQ 757 is working properly, try the following code:
<?php require( "../faq757/faq757.php" ); echo f7_config( 'installed_on' ); ?>
If you see a number, like this:
1174351410
Congratulations! You are ready to use FAQ 757 API.
We hope you add a nice section with FAQ 757.
Very Simple Example
Show records under root category.
<?php
require( "../faq757/faq757.php" );
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Hello, FAQ 757</title>
</head>
<body>
<h1>Records under Root Category</h1>
<?php
$record_list = f7_record_list();
$n_records = count( $record_list );
echo "<h2>We have $n_records records</h2>";
$seq = 0;
foreach( $record_list as $r ) {
$seq++;
echo "Record Seq: $seq" . "<br>";
echo "Record ID: $r->id" . "<br>";
echo "Record Subject: $r->subject" . "<br>";
echo "Record Content: $r->content" . "<br>";
echo "<hr>";
}
?>
</body>
</html>

