Changeset 3213 for libcaca


Ignore:
Timestamp:
Nov 2, 2008, 8:19:45 PM (11 years ago)
Author:
bsittler
Message:

echo rendered string in form value

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca-php/examples/www/figlet.php

    r3212 r3213  
    1010</head>
    1111<body>
    12 <form method="get" action=""><input name="str"/><input type="submit" value="OK"/></form>
     12<form method="get" action="#"><input name="str" value="<?= htmlspecialchars(isset($_GET["str"]) ? $_GET["str"] : "Libcaca") ?>" /><input type="submit" value="OK" /></form>
    1313<?php
    1414/*
Note: See TracChangeset for help on using the changeset viewer.