PHP Classes

Missing file

Recommend this page to a friend!

      Sam Pagination Class  >  All threads  >  Missing file  >  (Un) Subscribe thread alerts  
Subject:Missing file
Summary:Missing file
Messages:2
Author:Jeremy Wauters
Date:2008-07-16 12:55:41
Update:2008-07-17 08:34:10
 

  1. Missing file   Reply   Report abuse  
Picture of Jeremy Wauters Jeremy Wauters - 2008-07-16 12:55:41
examples call for a
require_once("admin/functions/sammysql.inc.php");

This script is missing a sammysql.inc.php

  2. Re: Missing file   Reply   Report abuse  
Picture of Olowoyo Samuel Olowoyo Samuel - 2008-07-17 08:34:11 - In reply to message 1 from Jeremy Wauters
Thanks for your observation. The line you refered to was a mistake on my side. What I showed in the exmaple is how to actually use the Pagination class.

However, to make the examples work, you need to download the 'SamMysql Class' and then change that particular line you cited to something like this,
===============================================
require_once("sammysql.inc.php");
===============================================

Just make sure that the 'sammysql.inc.php' script is in the same directory as the 'sampaginator.inc.php' script.

Thanks.

Please if there are other observations about the scripts, kindly get across.