Re: [PHP-WIN] MySQL Help

2003-09-25 Thread Bobo Wieland
$num_items = amount user wants; $td2 = floor($num_items/2); $td1 = $num_items-$td2; print(""); for($i = 0; $i < $td1; $i++) { print(); } print(""); print(""); for($i = $td1; $i < $td2; $i++) { print(); } print(""); .bobo - Original Message - From: "Dean Hayes" <[EMAIL

Re: [PHP-WIN] MYSQL Help

2001-04-26 Thread Johan Lundqvist
Tom's answer is correct, but... I just HAVE to comment on the security issue in allowing telnet access at all. You should think more than twice before open up any system, in any way... You might wanna think SSH, firewall or maybe VPN... I dunno. /Johan Tom Mathews wrote: > > 1) Command line con

Re: [PHP-WIN] MYSQL Help

2001-04-26 Thread Tom Mathews
1) Command line console is always installed with MySQL - telnet to the remote machine and you should be able to run it with no problems. 2) GUI - I reccommend phpmyadmin - get it from the MySQL site. It has a lot of limitations, but the basic functionality is all fine. Tom edwin wrote: > hi, >

Re: [PHP-WIN] MYSQL Help

2001-04-26 Thread edwin
hi, thanks!! btw, do you know any good commandline or gui clients for Mysql? i want to administer the DB remotely... thanks ed ""Johannes Janson"" <[EMAIL PROTECTED]> wrote in message 9c65b9$nle$[EMAIL PROTECTED]">news:9c65b9$nle$[EMAIL PROTECTED]... > hi, > > the info in the manual about the

Re: [PHP-WIN] MYSQL Help

2001-04-25 Thread Johannes Janson
hi, the info in the manual about the command line in mysql apply also for win2k. Assuming you have root access go to the mysql prompt and type this: GRANT select, insert, update, delete, WhatPrivYouWant ON YourDB.* TO username IDENTIFIED BY 'YourPassword'; This creates a user "username" with pas