[PHP-DB] Re: odbc problem

2007-03-12 Thread Haydar Tuna
Hello, I faced same problems. My table had many rows but I couldn't run odbc_num_fields. It return -1 result. I looked PHP help file. But I get rows with odbc_fetch_row() function. My operating system was Windows 2003. I think, there is a bug odbc_num_fields function in Windows 2003

Re: [PHP-DB] Re: odbc problem

2007-03-12 Thread bedul
allright.. i don't blame anyone.. i just wanna say thanks to everyone for helping me.. perhaps u right.. more rows make the script return ERROR.. - Original Message - From: Haydar Tuna [EMAIL PROTECTED] To: php-db@lists.php.net Sent: Monday, March 12, 2007 2:53 PM Subject: [PHP-DB] Re:

Fw: [PHP-DB] Re: odbc problem (update.. SOLVED)

2007-03-12 Thread bedul
SELECT PA_PatMas.PAPMI_Name FROM PA_Adm, PA_PatMas where PAADM_PAPMI_DR=PAPMI_RowId1 and PAADM_ADMNo = O0002694 i add something from previous the problem because i show all table and it make error!! if i just point what i wanted to show.. is not error.. repair for odbc sql.. (if anyone have

[PHP-DB] Re: PHP_AUTH_USER .htaccess

2007-03-12 Thread Haydar Tuna
Hello, You can use HTTP_AUTH without .htaccess file. It is very easy. You can use like following example on your web site.:) ?php if ( ( !isset( $_SERVER['PHP_AUTH_USER'] )) || (!isset($_SERVER['PHP_AUTH_PW'])) || ( $_SERVER['PHP_AUTH_USER'] != 'username' ) || ( $_SERVER['PHP_AUTH_PW'] !=

[PHP-DB] Re: odbc problem

2007-03-12 Thread IMRAN
Send me your code, I'll fix it for you... - Original Message - From: bedul [EMAIL PROTECTED] To: IMRAN [EMAIL PROTECTED] Cc: php.db php-db@lists.php.net Sent: Monday, March 12, 2007 12:15 PM Subject: Re: odbc problem - Original Message - From: IMRAN [EMAIL PROTECTED] To:

Re: [PHP-DB] Re: odbc problem

2007-03-12 Thread bedul
are u indonesian? - Original Message - From: IMRAN [EMAIL PROTECTED] To: bedul [EMAIL PROTECTED] Cc: php.db php-db@lists.php.net Sent: Monday, March 12, 2007 8:04 PM Subject: [PHP-DB] Re: odbc problem Send me your code, I'll fix it for you... nooo.. that's would not necesarry.. i think

[PHP-DB] Search

2007-03-12 Thread MIGUEL ANTONIO GUIRAO AGUILERA
Hi my friends, I have a web site where visitor should be able to look for specific documents: articles, sermons, etc I want to provide the capability to search by keywords, but I have never worked with this kind of search. Any ideas of what I should store in my tables? How to create my

Re: [PHP-DB] Search

2007-03-12 Thread Micah Stevens
There's so many correct answers to your question that I don't really want to broach the subject. There's enough to that question that could fill several volumes. Take a look at the FULLTEXT search functionality of MySQL just for a taste of what goes into such things. This is likely not your

[PHP-DB] howto: mktime() function

2007-03-12 Thread bedul
i wonder how i can get value from mktime. my friend want to build mktime using asp but he wonder how to have the value.. what he have are the function same as date() on asp. if someone have time to build the same function but only use date.. plz post here thx in advance