Hello
I've got a problem to see a text read from a database on my local server(xampp).
Here my Code:
$sql = "SELECT text FROM text WHERE id='1'"; $query = mysql_query($sql); $data = mysql_fetch_array($query); .... <form method="post" action="insert_into_dtatabase.php?example=true"> <textarea name="content" cols="50" rows="15" mce_editable="true"> <?php echo $data[0]; ?> </textarea> <input type="submit" value="Speichern" /> </form>
I can't see the text in the editor, but in the browser-source-code i can see it .
It does work on my webspace:
[url]
http://www.rolfcharlier.de/editor/test_tinyMCE.php
[/url]
but not on my local server.
Anybody who can help me ?
Thanks
vinter
Re: How to read from a datbase and edit it