Re: PHP/HTML



In message <442bb9b7$0$10505$ba624c82@xxxxxxxxxxxxxxxxxxx>, Lau Lauritzen <lau@xxxxxxxxxx> writes
Hope there is someone out there how can help me.
I got a small problem, as you will properly see i'm a newbi.
I'm running php 5.1.2 and apacheserver 2.0.55 on a winxp installation.

The following code is not displaying anything in the browser:

<?php
if($form_errorlist): ?>
Please correct the following errors:<BR>
<UL>
<?php foreach($form_errors as $val): ?>
<LI><?=$val?> // Here is the problem

What's <?=$val?> suppose to do?

You'll probably find that your browser is trying to interpret it as an HTML tag, doesn't understand it, so just ignores it.
--
Martin Jay
.



Relevant Pages

  • Re: apache 404 error in browser
    ... |> i can pull up this site just fine by typing the address in the browser. ... |> i'm wondering if this is an issue with my apache config or if this is ... production server has php run as a module in apache while i'm running php as ... cgi on my prototyping box. ...
    (alt.php)
  • suphp and header (Status: xxx yyyyy) not seeing default error page
    ... I'm running php as cgi (using suphp). ... The browser gets 404 error code but I only see a blank page. ...
    (php.general)
  • Re: Problem running php3
    ... >> I installed php3 but is not running, the browser is only asking me to ... > Why are you running PHP 3? ... Prev by Date: ...
    (alt.php)