Re: [PHP-DB] pagination problem

2003-07-12 Thread Jason Wong
On Sunday 13 July 2003 06:17, Andres wrote: > I have a MySQL database full with authors and titles. I made a script that > searchs a specific author and return the all his books titles, but I need > it show the results from 10 to 10. I tried with LIMIT and it return just > fine the first 10 but wh

Re: [PHP-DB] Error notice

2003-07-12 Thread David Smith
You are referencing variables that you have not created (or perhaps array indexes that don't exist). To suppress these messages, fix your code to not do such things, or just put this at the top of your scripts: error_reporting( E_ALL ^ E_NOTICE ); Or edit php.ini to make it happen globally:

[PHP-DB] pagination problem

2003-07-12 Thread Andres
Hi all, I have a MySQL database full with authors and titles. I made a script that searchs a specific author and return the all his books titles, but I need it show the results from 10 to 10. I tried with LIMIT and it return just fine the first 10 but when I click the next 10 button it show me oth

[PHP-DB] Mysqli setting database connection character set

2003-07-12 Thread Jaanus Heeringson
Is there any way to set the default database connection character set when using myslqi extension? When connecting to a database it does not seem to pick up the default charset of the database (utf8) but instead reverts to the mysql server default chrset (latin_1...). What i want to do is conn

[PHP-DB] Error notice

2003-07-12 Thread Marco Mastrorilli
-Notice: Use of undefined constant data.. -Notice: Use of undefined constant mail... -Undefined variable Why in my scripts i always get error notice like this? How can i solve this problem? Thanks