source: trunk/examples/ext_example-dest.php @ 330

Last change on this file since 330 was 330, checked in by gocher, 14 years ago

Ticket #424
Submit to Publish

a preview with source for the ext_example

File size: 569 bytes
Line 
1<html>
2<head>
3  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
4  <title>Example of Xinha</title>
5  <link rel="stylesheet" href="full_example.css" />
6</head>
7</body>
8<?php
9        foreach($_REQUEST as $key=>$value){
10          if(substr($key,0,10) == 'myTextarea') {
11      echo '<h3 style="border-bottom:1px solid black;">'.$key.'(source):</h3><xmp style="border:1px solid black; width: 100%; height: 200px; overflow: auto;">'.$value.'</xmp><br/>';
12                        echo '<h3 style="border-bottom:1px solid black;">'.$key.'(preview):</h3>'.$value;
13    }
14  }
15?>
16</body>
17</html>
Note: See TracBrowser for help on using the repository browser.