RE: [PHP] Adding zeros in front

2002-06-10 Thread César L . Aracena
Adding zeros in front > > Try this: > > echo str_pad($row[main_group],4,"0",STR_PAD_LEFT)."/".$row[sub_group]; > > -Clay > > > From: César L. Aracena <[EMAIL PROTECTED]> > > Date: Tue, 11 Jun 2002 00:11:30 -0300 > > To: "PHP Gene

[PHP] Adding zeros in front

2002-06-10 Thread César L . Aracena
Hi all, Does anyone remembers how to add zeros in front of a result number given by a query to MySQL and returned as an array, so it always shows a 4 digit number? I have: [snip] echo $row[main_group]."/".$row[sub_group]; [snip] but throws out: 1/0 2/0 3/0 instead of: 0001/0 0002/0 0003/0 w

RE: [PHP] PHPMyAdmin Alternative?

2002-06-08 Thread César L . Aracena
Look in http://www.mysql.com/downloads/gui-mycc.html and download the latest version of MyCC, which helped me to manage the DBs on the server. I found a problem with the current version, but one of it's developers told me to wait 'till next week when the new release is available. The problem is t

[PHP] MyCC Problem

2002-06-07 Thread César L . Aracena
Hi all. I know that this isn’t probably the best place to make this question, but I uses that some of you uses MyCC to connect to a remote MySQL DB. My connection is no problem, but when I issue a SQL command, which tells the DB to INSERT multiple rows into one table, It gives me an error every ti

RE: [PHP] mail() problem

2002-06-05 Thread César L . Aracena
Ok. I've done everything that all of you told me to do, but still can't get to send e-mails to my ISP's mail address. I did all of the following: a) Append a Reply-To: [EMAIL PROTECTED] (Actually, it’s [EMAIL PROTECTED] ) b) Send the e-mail to my Hotmail account, but everything seems fine. The a

[PHP] mail() problem

2002-06-05 Thread César L . Aracena
Hi all, I have this strange problem where I can send e-mails from a PHP script to a common e-mail address such as Hotmail's, but I can't send to my ISP-given e-mail address (@infovia.com.ar). Does anyone happen to know why is it that makes it different??? Thanks, Cesar Aracena [EMAIL PROTECTE