Re: [PHP-DB] Problem with permissions Win32 dba_open

2004-12-30 Thread Ian
Bastien Koert [EMAIL PROTECTED] wrote: have you set the permissions in the folders? Right click on the folder and choose Properties...then set the appropraiate permissions bastien [snip] Thanks, Bastien. Altering permissions doesn't appear to work, at least not the way it seems to be

RE: [PHP-DB] Math and mySQL

2004-12-30 Thread Bastien Koert
see intersperesed comments bastien From: Ron Piggott [EMAIL PROTECTED] To: PHP DB php-db@lists.php.net Subject: [PHP-DB] Math and mySQL Date: Thu, 30 Dec 2004 05:51:44 -0500 Is there any way of retreiving the last record of a mySQL table where I may specify one of the values in it? I know the

Re: [PHP-DB] Problem with permissions Win32 dba_open

2004-12-30 Thread Bastien Koert
make sure in the general tab that the read only checkbox is NOT checked bastien From: Ian [EMAIL PROTECTED] To: php-db@lists.php.net Subject: Re: [PHP-DB] Problem with permissions Win32 dba_open Date: Thu, 30 Dec 2004 12:54:49 - Bastien Koert [EMAIL PROTECTED] wrote: have you set the

[PHP-DB] why is it so?

2004-12-30 Thread Nayyar Ahmed
Hello All, I am unable to understand when I execute etc.php, it give me the error Warning: session_start(): Cannot send session cache limiter - headers already sent . can you solve this leral ? TIA -- Nayyar Ahmad Lecturer Faculty Of Computer Science, Institute Of Management Sciences,

RE: [PHP-DB] why is it so?

2004-12-30 Thread R. Van Tassel
session_start() needs to be the first piece of code at the top of the page, you must have something else before it. ?php session_start() // all php code follows ? -Original Message- From: Nayyar Ahmed [mailto:[EMAIL PROTECTED] Sent: Thursday, December 30, 2004 10:56

RE: [PHP-DB] why is it so?

2004-12-30 Thread Bastien Koert
in this page somwhere, or perhaps in an include, there is a blank space or some html echoed out to the page bastien From: Nayyar Ahmed [EMAIL PROTECTED] Reply-To: Nayyar Ahmed [EMAIL PROTECTED] To: php-db@lists.php.net Subject: [PHP-DB] why is it so? Date: Thu, 30 Dec 2004 20:56:21 +0500 Hello

FW: [PHP-DB] why is it so?

2004-12-30 Thread Darryl
Make sure that you are sending the session_start() function before you send anything else to the web browser, it must be the first thing done as with setting cookies -Original Message- From: Nayyar Ahmed [mailto:[EMAIL PROTECTED] Sent: Thursday, December 30, 2004 5:56 PM To:

[PHP-DB] get primary key

2004-12-30 Thread Perry, Matthew (Fire Marshal's Office)
This one should be easy for most of you. What is the SQL query to select the column name for the primary key of a table? -Matthew

Re: [PHP-DB] Problem with permissions Win32 dba_open

2004-12-30 Thread Ian
Unchecking the read only box made no difference. A zero byte test database file is created and dba_open() results in 'Permission denied'. However, if the file is given a relative path (eg ../test.db), instead of an absolute address (eg C:/Apache/htdocs/test.db), the Permission denied warning

RE: [PHP-DB] get primary key

2004-12-30 Thread Bastien Koert
http://ca.php.net/manual/en/function.mysql-field-flags.php is the php/mysql functions that should meet your needs bastien From: Perry, Matthew (Fire Marshal's Office) [EMAIL PROTECTED] To: php-db@lists.php.net Subject: [PHP-DB] get primary key Date: Thu, 30 Dec 2004 16:20:41 -0600 This one

[PHP-DB] Help in learning PHP and MySQL

2004-12-30 Thread Novice Learner
I apologize if this is a very basic question. I just started learing PHP and MySQL, I am reading PHP and MySQL by Larry Ullman, I also have access to PHP 5 by Julie Meloni. I reached Chapter 6 of Ullman's book and got stuck. I have the following code: ?php //This file contains the

Re: [PHP-DB] Help in learning PHP and MySQL

2004-12-30 Thread Janet Valade
Novice Learner wrote: I apologize if this is a very basic question. I just started learing PHP and MySQL, I am reading PHP and MySQL by Larry Ullman, I also have access to PHP 5 by Julie Meloni. I reached Chapter 6 of Ullman's book and got stuck. I have the following code: ?php //This file