[PHP-DB] TDS odbc driver tar file corrupted?

2004-05-26 Thread Andrea Taglioni
Good morning, I tried to download and test TDS ODBC linux/unix driver from (file tds-1.6- glibc2-i386.tar.gz) from http://library.freeodbc.org/ website. The file seems to be corrupted. Has anybody tried to download and test it? If anybody has a correct version, please, could you send it to me

[PHP-DB] mousyu

2004-05-26 Thread Curtis Pratt
skyward quash obsolescent menopause capacious bum ringside stripy ministry deleterious prepare chou buttress truism coronate summate dominion absorptive bookshelves humidify spew dogma bob cufflink cosmology guthrie sainthood emily dynamism heat levin sleepy yon addison bijection cognizant

[PHP-DB] Printer functions under linux

2004-05-26 Thread antonio bernabei
Hello, I have worked with the printer class functions under win and they are ok Can I use similar functions under linux? Thanks Antonio Bernabei -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Multi search function (help)

2004-05-26 Thread nabil
hi all Is there a way to condition your search: -I have a form for four text boxes for search my Mysql... -I don't want to write 4 conditions and for SQL statements incase he decided not to search with all keywords (fields) - I have by example : name, lastname , nickname and phone form...

[PHP-DB] Re: Multi search function (help)

2004-05-26 Thread David Robley
Nabil wrote: hi all Is there a way to condition your search: -I have a form for four text boxes for search my Mysql... -I don't want to write 4 conditions and for SQL statements incase he decided not to search with all keywords (fields) - I have by example : name, lastname ,

[PHP-DB] Re: Multi search function (help)

2004-05-26 Thread nabil
thanks .. but my question is not for isset... i m thinking consider that i have 10 search fields... if i have to do a combination then i need a day to right the various SQL statements David Robley [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Nabil wrote: hi all Is

[PHP-DB] Drawing table by while

2004-05-26 Thread nabil
Hiya, How can i draw a new tr AFTER FIVE td in the following loop (i want to echo the records in 5 columns width tables whatever the number of records will be fetched) .. echo 'table'; while ($myrow = mysql_fetch_array($sql)) { echo $myrow[0]; } echo '/table'; --

SV: [PHP-DB] Drawing table by while

2004-05-26 Thread Henrik Hornemann
Something like this: echo 'table'; $count=1; while ($myrow = mysql_fetch_array($sql)) { If ($count==5) { echo /tr; $count=1; } If ($count==1) echo tr; $count++; echo $myrow[0]; } echo '/table'; Hth Henrik Hornemann -Oprindelig meddelelse- Fra: nabil [mailto:[EMAIL

[PHP-DB] Re: Multi search function (help)

2004-05-26 Thread David Robley
Nabil wrote: David Robley [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Nabil wrote: hi all Is there a way to condition your search: -I have a form for four text boxes for search my Mysql... -I don't want to write 4 conditions and for SQL statements incase he

[PHP-DB] Passing an ADO Recordset by Reference

2004-05-26 Thread Keith
Does anyone know how to pass an ADO Recordset by reference to a COM object member function in PHP v4.3.6? eg. This is my best guess... dies horribly :( $AComObject = new COM(AServer.AObject); $AADORecordSet = new COM(ADODB.Recordset); // I wrap the ADO Recordset as a Variant... read on Zend

[PHP-DB] Undefined variable

2004-05-26 Thread Miguel Guirao
Hi!! I have a very simple and smail script with just one input text box and a submit button. After that, I have an echo function in the same code page that just displays the data entered in the text box. But I'm receiving an undefinied variable error when I execute it!! Echo ($Name); I'm

Re: [PHP-DB] Undefined variable

2004-05-26 Thread Viorel Dragomir
echo $_REQUEST['Name']; - Original Message - From: Miguel Guirao To: PHP DB List Sent: Wednesday, May 26, 2004 17:47 Subject: [PHP-DB] Undefined variable Hi!! I have a very simple and smail script with just one input text box and a submit button. After that, I

RE: [PHP-DB] Undefined variable

2004-05-26 Thread Miguel Guirao
Thanks so much!!! Miguel Guirao Servicios Datacard www.SIASA.com.mx -Mensaje original- De: Viorel Dragomir [mailto:[EMAIL PROTECTED] Enviado el: MiƩrcoles, 26 de Mayo de 2004 09:55 a.m. Para: Miguel Guirao; PHP DB List Asunto: Re: [PHP-DB] Undefined variable echo $_REQUEST['Name'];

[PHP-DB] Problem in passing the necessary variable.

2004-05-26 Thread Alessandro Folghera
Hi, I have developed a news system .. I can select to insert an image into the articles. The function to extract the image calling them by the imgid of images table is the following: function getImm() { ? select name=image ? connect();

Re: [PHP-DB] Undefined variable

2004-05-26 Thread Daniel Clark
Are you using a FORM Post or Get ? Perhaps $_POST['Name'] or $_GET['Name'] Hi!! I have a very simple and smail script with just one input text box and a submit button. After that, I have an echo function in the same code page that just displays the data entered in the text box. But I'm

Re: SV: [PHP-DB] Drawing table by while

2004-05-26 Thread Mike S.
Or like this (to be a little more complete, with comments): // initialize counter $count=0; // start the table and the first row echo tabletr; // loop through fetch results while ($myrow = mysql_fetch_array($sql)) { // if we've output 5 columns... if ($count==5) { // end the

Re: [PHP-DB] Re: Multi search function (help)

2004-05-26 Thread Ross Honniball
I'm not 100% sure, but you may want to also check if the field is empty (using empty() function) before including in your search. (in addition to isset) Also, just a caution, you will need to take some care in figuring when and where to place your 'and' statements linking the various parts of