Re: [php-list] Undefined variables arggggg

2008-02-11 Thread Gustavo Coutinho
ble: PHP_SELF in c:\Inetpub\wwwroot\helpdesk.php > on line 86 > Line 86 is > echo "\n"; > ** > > [Non-text portions of this message have been removed] > > > can you put isset(function) in your variables ?? like this: if(isset($submit)) or if((isset($add)) -- Thanks Gustavo Coutinho [Non-text portions of this message have been removed]

Re: [php-list] Get sum of cells in table

2008-01-29 Thread Gustavo Coutinho
ervers ORDER BY servers.`Date` DESC"; > to > > $query_Edrive = "SELECT servers.`Date`, servers.exchangemb1e + > servers.exchangemb2e + servers.exchangemb3e + servers.exchangemb4e + > servers.exchangemb5e FROM servers ORDER BY servers.`Date` DESC"; > > i think t

Re: [php-list] Get sum of cells in table

2008-01-28 Thread Gustavo Coutinho
exchangemb1e + servers.exchangemb2e + servers.exchangemb3e + servers.exchangemb4e + servers.exchangemb5e FROM servers ORDER BY servers.`Date` DESC"; i think that solves yout problem. sorry about my english, i'm newbie. -- Atenciosamente. Gustavo Coutinho --- Hi Gustavo, U

Re: [php-list] Get sum of cells in table

2008-01-24 Thread Gustavo Coutinho
gt; exchangemb1e > > exchangemb2e > > exchangemb3e > > class="style3">exchangemb4e > > exchangemb5e > > > > > > > > $row_Edrive['Date']; ?> > > $row_Edrive['exchangemb1e']; ?> > > $row_Edrive['exchangemb2e']; ?> > > $row_Edrive['exchangemb3e']; ?> > > $row_Edrive['exchangemb4e']; ?> > > $row_Edrive['exchangemb5e']; ?> > > > > > > > > > > > > > > > > > > > > > > <!-- > > var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", > {imgRight:"../SpryAssets/SpryMenuBarRightHover.gif"}); > > //--> > > > > > > > > > mysql_free_result($Edrive); > > ?> > hi, you can try to change this query $query_Edrive = "SELECT servers.`Date`, servers.exchangemb1e, servers.exchangemb2e, servers.exchangemb3e, servers.exchangemb4e, servers.exchangemb5e FROM servers ORDER BY servers.`Date` DESC"; to $query_Edrive = "SELECT servers.`Date`, servers.exchangemb1e + servers.exchangemb2e + servers.exchangemb3e + servers.exchangemb4e + servers.exchangemb5e FROM servers ORDER BY servers.`Date` DESC"; i think that solves yout problem. sorry about my english, i'm newbie. -- Atenciosamente. Gustavo Coutinho http://gugarush.blogspot.com

Re: [php-list] Question re fopen & null characters

2008-01-24 Thread Gustavo Coutinho
Moderators note: Please write new text below original text. On Jan 24, 2008 7:49 AM, Gordon Stewart <[EMAIL PROTECTED]> wrote: > Hi, > > BACKGROUND > > I have this as a common routine :- > > $handle = fopen($file, "a"); > fwrite($handle, "$logreport\n"); > fclose($handle); > > (different script