Hi- as you know I have been working on adding a captcha image to my guestbook. Well I have managed to get a very basic one working ;) but !I have been trying to get one that would make it more easy to use ,I have it working until I add it to my form. My form use's print see below and I need to add this to it: <img style="vertical-align: middle" src="<?php echo captchaImgUrl()?>"> <input name="captcha" size="8"/> <a href="<?php echo captchaWavUrl()?>">Listen To This</a> Any tip would be welcome. Chris { print "<table border='0' cellpadding='6'><tr><td class='book'>"; print "<form method='post' action='try.php' name='form'>"; print "<p class=content>Name:</p> <input type='text' name='name' size='40'><br>"; print "<p class=content>Country:</p><input type='text' name='country' size='40'><br>"; print "<p class=content>Homepage</p><input type='text' name='homepage' value='http://' size='40'><br>"; print "<p class=content>E-mail:</p><input type='text' name='email' size='40'><br>"; print "<p class=content>Aim:</p><input type='text' name='aim' size='40'><br>"; print "<p class=content>ICQ:</p><input type='text' name='icq' size='40'><br>"; print "<p class=content>Yahoo:</p><input type='text' name='yim' size='40'><br>"; print "<p class=content>MSN:</p><input type='text' name='msn' size='40'><br>"; print "<p class=content>Comment:</p>"; print "<textarea rows='6' name='comment' cols='45'></textarea><br>"; I need to add it here!! print "<input type='submit' name='submit' value='submit'>"; print "</form><br>"; print "<p class='big'>Clickable Smilies</p>"; print "<a onClick=\"addSmiley(':)')\"><img src='images/smile.gif'></a> "; print "<a onClick=\"addSmiley(':(')\"><img src='images/sad.gif'></a> "; print "<a onClick=\"addSmiley(';)')\"><img src='images/wink.gif'></a> "; print "<a onClick=\"addSmiley(';smirk')\"><img src='images/smirk.gif'></a> "; print "<a onClick=\"addSmiley(':blush')\"><img src='images/blush.gif'></a> "; print "<a onClick=\"addSmiley(':angry')\"><img src='images/angry.gif'></a> "; print "<a onClick=\"addSmiley(':shocked')\"><img src='images/shocked.gif'></a> "; print "<a onClick=\"addSmiley(':cool')\"><img src='images/cool.gif'></a> "; print "<a onClick=\"addSmiley(':ninja')\"><img src='images/ninja.gif'></a> "; print "<a onClick=\"addSmiley('(heart)')\"><img src='images/heart.gif'></a> "; print "<a onClick=\"addSmiley('(!)')\"><img src='images/exclamation.gif'></a> "; print "<a onClick=\"addSmiley('(?)')\"><img src='images/question.gif'></a><br>"; print "<a onclick=\"addSmiley(':{blink}')\"><img src='images/winking.gif'></a>"; print "<A onclick=\"addSmiley('{clover}')\"><img src='images/clover.gif'></a>"; print "<a onclick=\"addSmiley(':[glasses]')\"><img src='images/glasses.gif'></a>"; print "<a onclick=\"addSmiley(':[barf]')\"><img src='images/barf.gif'></a>"; print "<a onclick=\"addSmiley(':[reallymad]')\"><img src='images/mad.gif'></a>"; print "<script language=\"JavaScript\" type=\"text/javascript\">\n"; print "function addSmiley(textToAdd)\n"; print "{\n"; print "document.form.comment.value += textToAdd;"; print "document.form.comment.focus();\n"; print "}\n"; print "</script>\n"; print "<br><br>"; print "<p class='big'><A href=\"javascript:popWin('bbcode.php',400, 5)\">BBCode instructions</a></p>"; } -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php