# Smilies in guestbook

**URL:** <https://forum.kirupa.com/t/smilies-in-guestbook/187554>\
**Category:** flash\
**Created:** [April 30, 2006, 1:54pm UTC](https://forum.kirupa.com/t/smilies-in-guestbook/187554 "2006-04-30T13:54:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Napoly](https://avatars.discourse-cdn.com/v4/letter/n/a9adbd/32.png) [@Napoly](https://forum.kirupa.com/u/Napoly)\
**Post date:** [April 30, 2006, 1:54pm UTC](https://forum.kirupa.com/t/smilies-in-guestbook/187554/1 "2006-04-30T13:54:46Z")

</div>

[SIZE=1]Hi guys and girls…

I have this guestbook at my friend’s site and it works ok. It uses php&mysql… [phpMyAdmin]…  
[/SIZE][SIZE=1][COLOR=DarkGreen]but I can’t figure out for example if “smiley” will be written by a user that it will be replaced with a smiley.jpg…[/COLOR][/SIZE][SIZE=1]

Just for a showcase here’s a script to load my entries…

```auto
[SIZE=2]_parent.read.entries.text = "Loading entries... Please wait...";
// Begin Loading
myEntries = new LoadVars()
myEntries.ref = this
    myEntries.load("GuestBook.php?action=read&r="+random(999)+"&NumLow="+_parent.NumLow) 
    myEntries.onLoad = function(success){ 
        if(success){ 
            // Assign output to components and objects
            entries.html = true;
            entries.htmlText = this.entries;
            totalEntries.text = this.totalEntries;
    } 
}
// Load Default
_parent.read.loadEntries("Default", 10);
stop();[/SIZE]

```

[/SIZE]
