I have a form that uploads a picture. I am trying to add the option for people to add tags to thier picture and have the tags they enter display permanently on the next page....
I get the error Wrong parameter count for str_replace()
where am I going wrong...
heres what I have going on (scaled down to save space)..
upoad.htm
<form method="post" action="upload.php" enctype="multipart/form-data">
<input type="text" name="tag" size="20">
</form>
upload.php
$tag = $_POST['tag'];
show.php
$template = str_replace("[KEYS]", $tag);
template_page.php
<body>
[KEYS]
</body>