[PHP] CLI utility

2006-02-21 Thread Ray Cantwell

Hello again,
I was wondering if any of you knew of a good command line utility for 
php5 on linux? The box i write on has no X-windows.

Ray.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] CLI utility

2006-03-03 Thread Ray Cantwell
Indeed i am looking for a tool to write my code with on a box that has 
no gui environment, However if a Jihad is going to ensue because of it, 
i shall withdraw my question, head bowed.

RTC

Kevin Kinsey wrote:


John Nichel wrote:


Ray Cantwell wrote:


Hello again,
I was wondering if any of you knew of a good command line
utility for php5 on linux? The box i write on has no X-windows.

Ray.



A command line utility to do what?



Indeed.  Context might even indicate he's looking for
something to use to write his PHP scripts on a box
with no GUI.

In which case, the question is better avoided as it's
a terribly effective magnet for holy war.

Furthermore, I didn't choose the .sig below, it's randomly
generated by fortune(6), but it really speaks to me, heh

KDK

PS. "ed(1) is the standa"  nah. ;-)




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Parse Error

2006-02-21 Thread Ray Cantwell

Hi all,
I am a noob and super confused right now. I have some really simple code 
and i am getting an error that reads:
*Parse error*: syntax error, unexpected T_VARIABLE in 
*/var/www/mysql_up.php* on line


here is the code:


Test MySQL


Error " . mysql_errno() . ": "
. mysql_error() . "";
else
{
?>


 Variable_nameValue
 
 ";
 $row_array = mysql_fetch_row($result);
 for ($j = 0; $j < mysql_num_fields(result); $j++)
 {/
   echo "" . $row_array[$j] . "";
 }
 echo "";
  }
?>




I am really confused because i cannot see any obvious errors.
any help would be appreciated.

Ray.