[PHP-DB] RE: Informix user wierdness

2001-04-01 Thread Graeme Merrall
This is more an Informix question rather than a PHP question but I hope someone can help I've installed the Linux-SE version and CSDK of Informix from informix.com and installation has gone fine including createing the demo DB. I can also start 'dbaccess' and browse/query the tables so the

Re: [PHP-DB] Query with Access

2001-04-01 Thread Gary Huntress
I'd try adding: $conn = odbc_connect("pruebas_php", "", "") or die("cannot connect to pruebas_php"); $resultado1 = odbc_exec($conn,"SELECT Nombre, Apellido1, Apellido2 FROM Personas") or die ("cannot execute query"); -- Regards, Gary "SuperID" Huntress

Re: [PHP-DB] metabase support

2001-04-01 Thread Manuel Lemos
Hello Dean, On 01-Apr-01 06:38:32, you wrote: I just want to make sure that I'm understanding what metabase supports. It does not support: - references - primary keys Does anyone find that this prevents you from using metabase? Or do you find that you have to hack your way around these

[PHP-DB] PHP an MySQL

2001-04-01 Thread Jim Ray
Can someone recommend a book that shows how to use PHP and MySQL. I need to see how to pass parms from a form to a PHP so I can Update, Add and Delete records. Thanks for the help. Jim Ray -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: [PHP-DB] PHP an MySQL

2001-04-01 Thread Jeff Oien
I would recommend the first two books listed on this page: http://www.webdesigns1.com/php/books.php I've read both. Jeff Oien Can someone recommend a book that shows how to use PHP and MySQL. I need to see how to pass parms from a form to a PHP so I can Update, Add and Delete records.

Re: [PHP-DB] Search results

2001-04-01 Thread CC Zona
In article 001301c0bafa$34d15be0$[EMAIL PROTECTED], [EMAIL PROTECTED] ("David Drummond") wrote: Can anyone tell me what is the best way to implement displaying multiple search results using next and previous buttons to cycle through all the results. I see this method done on a lot of

RE: [PHP-DB] CSS versus Includes

2001-04-01 Thread Matt Braynard
When I asked the question, what I meant was should I use the includes to hold page style details or a CSS file. And someone who understood that this was not an apples and oranges situation but one of approach answered that Netscape was not fully supportive of CSS and suggested includes may be the

Re: [PHP-DB] CSS versus Includes

2001-04-01 Thread Boclair
"Matt Braynard" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... | When I asked the question, what I meant was should I use the includes to | hold page style details or a CSS file. And someone who understood that this | was not an apples and oranges situation but

Re: [PHP-DB] retrieving images

2001-04-01 Thread Stuart J. Browne
Hello, I'm trying to retrieve and output all the binary images in my images table. This is what I have, $result = mysql_query("SELECT * FROM images",$db); if ($myrow = mysql_fetch_array($result)) { // display list if there are records to display do { $filetype =

Re: [PHP-DB] uploading files.

2001-04-01 Thread Boclair
"olinux" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... | here is the working script on my local windows machine. note that you will | need to change $the_path | Everything is pretty self explanatory. You can read the article that I took | this from at

[PHP-DB] select data from a drop down box in a form

2001-04-01 Thread Petra
I like to select data out of a drop down box in my form field from a mysql database. While I do that I also like that it reloads the page and put the relevant products of that drop down box in another field. Ex: Category 1 Category 2 Category 3 are in the drop down box and when I choose Category

Re: [PHP-DB] PHP on WIN32 with DB2 CLI

2001-04-01 Thread Dan Scott
Actually, CLI is almost function-for-function the same as ODBC. The PHP implementation of ODBC is quite a simplified version, but it covers most of the basic function. Chris, what is it that you are trying to do, specifically? Dan Phil Jackson wrote: Chris - I think to use DB2's CLI

[PHP-DB] multiple file uploads

2001-04-01 Thread olinux
Hi all, I am combining a couple of scripts to create one that handles multiple files... I am using these two scripts. So far the script WILL upload. but i am having some trouble getting it to work totally right. If you run it you will see that the form is printed twice... and a couple other

Re: [PHP-DB] select data from a drop down box in a form

2001-04-01 Thread Gary Huntress
There are probably a million ways to do this... here is one :) (note that the file should be named "fieldtest.php" -- Regards, Gary "SuperID" Huntress === FreeSQL.org offering free database hosting to developers Visit

[PHP-DB] ecommerce - storing as an array or temporary record

2001-04-01 Thread olinux
I am developing a script that will eventually be a "pay-to-list your whatever" script. I am wondering if the best way to hold data throughout the four forms would be to hold these in an array - each form would array_push() the vars into the $listing array. Or would it be better to insert the

Re: [PHP-DB] Search results

2001-04-01 Thread Phil Jackson
I've not seen the limit function, but it sounds quite uselfull. Whatever method, you could pass the first or last keys related to the current page and an indication as to whether you are going forwards or backwards - I suppose that in PHP it could all be done in one file, self-referential-like,

Re: [PHP-DB] metabase support

2001-04-01 Thread Dean Hall
""Manuel Lemos"" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I just want to make sure that I'm understanding what metabase supports. It does not support: - references - primary keys Does anyone find that this prevents you from using metabase? Or do you

Re: [PHP-DB] ecommerce - storing as an array or temporary record

2001-04-01 Thread Stuart J. Browne
I am developing a script that will eventually be a "pay-to-list your whatever" script. I am wondering if the best way to hold data throughout the four forms would be to hold these in an array - each form would array_push() the vars into the $listing array. Or would it be better to insert