|
Posted by Kim Andrι Akerψ on 01/19/07 08:43
PB wrote:
> Hello all,
>
> Thank you, I'm not very knowledgeable on PHP.
>
> when I go to my page I get
> Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or
> `T_NUM_STRING' in /srv/www/htdocs/htdocs-new/metabo_info_cp.php on
> line 47
>
> line 47 is :
> <?php
> system("babel $data['mol'] -oxyz:struct.xyz -h");
> ?>
> babel is a program and the variable is some text I want to give to it
> the rest is the output from the script.
You might also want to try it like this:
<?php
system("babel ".$data['mol']." -oxyz:struct.xyz -h");
?>
But, as Geoff mentioned, I'd check the line preceding line 47, it might
be missing a quote and/or semicolon.
--
Kim AndrΓ© AkerΓΈ
- kimandre@NOSPAMbetadome.com
(remove NOSPAM to contact me directly)
[Back to original message]
|