[PHP-DB] re: multiple queries in PHP ????

2003-03-26 Thread JeRRy
Hi, This is what I have so far. ? if ($REQUEST_METHOD == POST) { $usr = usr; $pwd = pwd; $db = db; $host = localhost; $cid = mysql_connect($host,$usr,$pwd); mysql_select_db($db); // NOTE that form

[PHP-DB] re: multiple queries in PHP ????

2003-03-26 Thread JeRRy
Hi, I just noticed a problem with my question which would cause major problems in my db. So let me re-ask it again. How can I update 2 tables at once if a match occours from information inputed into a PHP form. Now this is what each table has. table1: id username game1 game2 game3 game4

[PHP-DB] re: multiple queries in PHP ????

2003-03-26 Thread JeRRy
ignore this, I no longer require assistance on the message below. ATTACHMENT part 6 message/rfc822 Date: Wed, 26 Mar 2003 19:41:32 +1100 (EST) From: JeRRy [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: re: multiple queries in PHP Hi, This is what I have so far. ? if

[PHP-DB] re: multiple queries in PHP ????

2003-03-26 Thread JeRRy
ignore this, I no longer require assistance on the message below. ATTACHMENT part 6 message/rfc822 Date: Wed, 26 Mar 2003 19:41:32 +1100 (EST) From: JeRRy [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: re: multiple queries in PHP Hi, This is what I have so far. ? if

[PHP-DB] re: multiple queries in PHP ????

2003-03-26 Thread JeRRy
ignore this, I no longer require assistance on the message below. l ATTACHMENT part 6 message/rfc822 Date: Wed, 26 Mar 2003 19:41:32 +1100 (EST) From: JeRRy [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: re: multiple queries in PHP Hi, This is what I have so far. ? if

[PHP-DB] Embedded Object Oriented Database System for PHP

2003-03-26 Thread Konstantin Knizhnik
I would like to announce embedded object oriented database for languages with dynamic type checking: DyBASE. Currently APIs for Python, Ruby and PHP are available. DyBASE is easy to use and provide high performance. It is intended to be used in applications which needs to deal with persistent

[PHP-DB] Design question...

2003-03-26 Thread NIPP, SCOTT V (SBCSI)
Anyone have an links to websites that offer good tutorials on web design? I am most interested in learning about templates and how to design these for use with PHP pages. I am using DreamWeaver MX as a development environment and would really like some help with DreamWeaver templates if

[PHP-DB] array manipulation with foreach

2003-03-26 Thread David Rice
I am trying to make a bit of code that takes values from 2 arrays, one array has a list of all the date's of this week starting from sunday, $arraydate[$n] = the date where $n is an integer between 0+6 the other is a multidimensional array composition as such; $rota[$staffid][$x] = date staff

RE: [PHP-DB] Re: Empty display loop...

2003-03-26 Thread NIPP, SCOTT V (SBCSI)
OK... I moved the form tag up before the table tag and added a tr tag to the beginning of the first line of display in the loop. No difference in the output. The first line of the output loop is still a completely empty line. -Original Message- From: [EMAIL PROTECTED]

[PHP-DB] wanted: example use of PHPv4 class DB

2003-03-26 Thread VaX#n8
Hey, I'm developing a brand-new PHP application and want to use a generic interface instead of DBMS-specific function calls. Is the PHP v4 DB class what I should start with, and can anyone point me to a code example using it? Thanks! -- PHP Database Mailing List (http://www.php.net/) To

Re: [PHP-DB] wanted: example use of PHPv4 class DB

2003-03-26 Thread CPT John W. Holmes
Hey, I'm developing a brand-new PHP application and want to use a generic interface instead of DBMS-specific function calls. Is the PHP v4 DB class what I should start with, and can anyone point me to a code example using it? Which class are you talking about? You can use ODBC (not

[PHP-DB] Generating view of tree?

2003-03-26 Thread Leif K-Brooks
I have a table with a tree. Thing is, I need to generate a view of it like: Category Sub-category Sub-sub-category Another sub-category Another category Sub-category Any way to do this, without using a huge number of queries? Using MySQL. -- PHP Database Mailing List

Re: [PHP-DB] example use of DB class

2003-03-26 Thread olinux
This has been answered 1000's of times. You could have had your answer in 10 seconds. http://www.google.com/search?hl=enlr=ie=ISO-8859-1q=php+pear+db+class+example olinux --- VaX#n8 [EMAIL PROTECTED] wrote: I think my last message failed to post properly. Can anyone show me an example use