Re: [PHP-DB] about Printer()

2001-09-20 Thread Andreas D. Landmark
At 20.09.2001 03:18, cheify wrote: >php4 suport Priner() in windows.How do I use it ?thanks very much. http://uk.php.net/manual/en/ref.printer.php (substitute uk for local mirror) methinks this is in the same ballpark av php-DB, not even the same league, it's not even the same fscking game! -

[PHP-DB] Obj : [PHP-DB] Renaming a database name...

2001-09-20 Thread Fabien ILLIDE
Hi Arief ! Well, you should use PhpMyAdmin who can do many usefull things. Like rename, optimize, make requests etc ... (If you're in local. Some providers refuse this.) http://phpmyadmin.sourceforge.net/ Or see the ALTER TABLE function in the doc. bye Fabien. Arief Fajar Nursyamsu a écrit :

[PHP-DB] MySQL Update Logging ???

2001-09-20 Thread Christopher Raymond
NOTES: I know this is a PHP list, but I also know that many of you are experienced MySQL admins. In addition, I was unable to find a MySQL newsgroup, so if you can help me out there, I would appreciated it and would most certainly post my question there. QUESTION: My ISP does not enable update

Re: [PHP-DB] MySQL Update Logging ???

2001-09-20 Thread Jason G.
Check out for MySQL mailing lists http://www.mysql.com/documentation/lists.html -JAson Garber At 03:42 PM 9/20/2001 -0500, Christopher Raymond wrote: >NOTES: I know this is a PHP list, but I also know that many of you are >experienced MySQL admins. In addition, I was unable to find a MySQL >ne

[PHP-DB] MySQL Query Weirdness

2001-09-20 Thread Chris S.
Hello, I'm new at this php/mysql stuff, so go easy on my guys. I've got my query script up and working, but the problem is I'm getting the same column printed twice on the html output. Here is the output: Connected successfully Chris Chris Mark Mark Mike Mike Dee Dee etc... Here is my .

Re: [PHP-DB] MySQL Query Weirdness

2001-09-20 Thread Steve Cayford
When you use mysql_fetch_array you're actually retrieving an array with two copies of the value you're looking for. One is indexed by the column number and one indexed by the column name. So it looks like you're looping through them both and printing each out. You might want mysql_fetch_assoc

[PHP-DB] Searching/keywords

2001-09-20 Thread Matt C
I have summaries of episodes stored in a database. How on earth do I go about highlighting keywords? I mean I have done a search and it gives a list of urls: episodes.php?id=4&highlight=max But how do I get it to go through all the words and highlight "max" or whatever keyword it is?? __

Re: [PHP-DB] Searching/keywords

2001-09-20 Thread olinux
you could probably use a str_replace() www.php.net $description1 = "Episode 1 - Joey eats all of the food in the house"; Suppose the search term is "food" - just go thru and replace "food" with "food" or whatever tags you want to use. olinux --- Matt C <[EMAIL PROTECTED]> wrote: > I have summar

Re: [PHP-DB] Searching/keywords

2001-09-20 Thread Jason G.
Just an idea... You could do a str_replace(), replacing " max " with max You may need to use a reg-exp replace function to determine where actual words are like max, vs. substrings like maximus. see http://www.php.net/manual/en/function.str-replace.php for more info... -Jason Garber Lead Pr

[PHP-DB] cross tab with mssql

2001-09-20 Thread Sommai Fongnamthip
Hi, I was used MS Access to make cross tab query with MS SQL. How could I do this with PHP? I was used syntax of MySQL but It did not work. Thank you, SF This is an example data: Customer#Bill date Bill amount --- A12345