FW: Fwd: [PHP-DB] Q

2004-08-22 Thread Darryl
Fwd: [PHP-DB] Q Try using 0 and 1 in place of 'id' and 'email', depending on the order in which these are presented in the database. If the database presents id first, then id is 0. If email is first, email is 0. You should really read the PHP manuals on mysql_fetch_array(

Re: Fwd: [PHP-DB] Q

2004-08-22 Thread Peter Ellis
Try using 0 and 1 in place of 'id' and 'email', depending on the order in which these are presented in the database. If the database presents id first, then id is 0. If email is first, email is 0. You should really read the PHP manuals on mysql_fetch_array() before assuming a particular behavior

Fwd: [PHP-DB] Q

2004-08-22 Thread Remember14a
Dear friends,   Php query modification, guidance, please.not mysql alteration table.So that Query displays data in tabular form with "Onclick" link to web site in another column of table.   Guidance, please. --- Begin Message --- [EMAIL PROTECTED] wrote: Dear Friends, Data in the table is display

Re: [PHP-DB] Q

2004-08-22 Thread Doug Thompson
[EMAIL PROTECTED] wrote: Dear Friends, Data in the table is displayed by php query. .Say column A, in which name of company will be stored. Now i want to add another column B to table in which web addresse will be stored against each name in Column B.and same should be displayed in an html table

[PHP-DB] Q

2004-08-22 Thread Remember14a
Dear Friends, Data in the table is displayed by php query. .Say column A, in which name of company will be stored. Now i want to add another column B to table in which web addresse will be stored against each name in Column B.and same should be displayed in an html table, when seen in browser

Re: [PHP-DB] Q

2004-02-22 Thread Doug Thompson
On Sun, 22 Feb 2004 11:02:29 EST, [EMAIL PROTECTED] wrote: >Dear friends, > >I have pap4, mysql, apache installed. How do I enable to access > /"$_SERVER[PHP_SELF]/" >.Comments, please Correct your syntax errors: \"$_SERVER['PHP_SELF']\" Doug -- PHP Database Mailing List (http://www.php.net

[PHP-DB] Q

2004-02-22 Thread Remember14a
Dear friends, I have pap4, mysql, apache installed. How do I enable to access /"$_SERVER[PHP_SELF]/" .Comments, please I getting folloing error You don't have permission to access /"$_SERVER[PHP_SELF]/" on this server.

[PHP-DB] Q

2004-02-22 Thread Remember14a
Dear friends, How do I enable the same.Comments, please You don't have permission to access /"$_SERVER[PHP_SELF]/" on this server.

[PHP-DB] [Q] EXT SQL IN PostgreSQL

2002-06-21 Thread brown
# Sorry to my poor English I have a procedure ( named by select_table ) ## BEGIN; select select_table('select_cur','table_name'); FETCH ALL IN select_cur; COMMIT; ## This Query is right In Console (psql). I wanna s

[PHP-DB] Q about indices

2001-12-11 Thread sharmad
Hi, Having to manny indices to a table,does it effect the performance of a table.Like a table having following structure Name : First name, Second Name, Third name, Age, Address. Is it good here to have multiple indices like on only first name, only second nam

[PHP-DB] Q regarding recursive function

2001-12-06 Thread Bart Verbeek
Hello, I'm using the following function: >>BEGIN CODE<< $q_cat ="SELECT cat_id, cat_naam, cat_parent_id FROM cat"; $r_cat = mysql_query($q_cat) or die ("Invalid Query fout Q=cat"); if ($r_cat) $n=0; if (mysql_num_rows($r_cat) > 0) while ($row_cat = mysql_fetch_array($r_cat))

[PHP-DB] [Q] Ideas on how to do this....

2001-08-14 Thread Donovan J. Edye
G'Day All, My environment is as follows: - MS-SQL 2k on Win32 box - PHP 4.xx, TDS x.xx on Linux box I have a need to call a stored procedure that would execute a DOS application that writes status messages to standard out while it does some work. Ideally I would like to display that stdout in

[PHP-DB] [Q] MS-SQL Print Statements.....

2001-08-14 Thread Donovan J. Edye
G'Day, My environment is as follows: - MS-SQL 2k on Win32 box - PHP 4.xx, TDS x.xx on Linux box If I have the following stored procedure: CREATE PROCEDURE MyProc AS BEGIN PRINT 'Hello World' SELECT * FROM tblMyTable END GO And I am using the mssq_* functions. How do I get to see any P

[PHP-DB] [Q] PHP on Linux, Oracle on Win32

2001-08-01 Thread Donovan J. Edye
G'Day All, I need to establish connectivity between a Debain Linux box running PHP 4.06 and Oracle 8i running on a Win32 box. Can someone point me at some FAQ's or other help. At present I have managed to get MS-SQL 2K going using TDS (Tabular Data Stream). Could TDS also be used for Oracle?