Browse Source

echo rendered string in form value

tags/v0.99.beta17
Ben Wiley Sittler bsittler 16 years ago
parent
commit
609f1b8f43
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      caca-php/examples/www/figlet.php

+ 1
- 1
caca-php/examples/www/figlet.php View File

@@ -9,7 +9,7 @@ header('Content-Type: text/html; charset=UTF-8');
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
</head> </head>
<body> <body>
<form method="get" action=""><input name="str"/><input type="submit" value="OK"/></form> <form method="get" action="#"><input name="str" value="<?= htmlspecialchars(isset($_GET["str"]) ? $_GET["str"] : "Libcaca") ?>" /><input type="submit" value="OK" /></form>
<?php <?php
/* /*
* figlet.php sample program for libcaca php binding * figlet.php sample program for libcaca php binding


||||||
x
 
000:0
Loading…
Cancel
Save