Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Very Cool Script - I Can't Figure it Out!
Old 11-21-2007, 11:31 AM Very Cool Script - I Can't Figure it Out!
Junior Talker

Posts: 2
Trades: 0
Hello everyone,

I just found a web site running a really cool script but I can't figure out how they do it.

The script is located at http://www.smalltime.com/Anonymous

Can someone help me figure out how it is coded? I'm "OK" with PHP but could be a lot better. Know what I mean?

Thanks for your help!

Brandon
successfirst is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-21-2007, 11:41 AM Re: Very Cool Script - I Can't Figure it Out!
hamesy's Avatar
Webmaster Talker

Posts: 639
Name: Steve
Location: Birmingham, England
Trades: 0
Off the top of my head, you can store the message in a table within a DB. All you need is one field to store the message.

When the user clicks on the "Fire Away!" button, the previous message is pulled from the database and stored in a variable. The new message is then inserted into the database, and then the contents of the variable is displayed on the screen.

However, I don't see the point in the script. No offense but it's probably one of the lamest things I've seen on the Internet.
__________________
Hamesy

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

Last edited by hamesy; 11-21-2007 at 11:42 AM..
hamesy is offline
Reply With Quote
View Public Profile
 
Old 11-21-2007, 04:23 PM Re: Very Cool Script - I Can't Figure it Out!
lizciz's Avatar
Super Spam Talker

Posts: 807
Name: Mattias Nordahl
Location: Sweden
Trades: 0
Or you could simply read the content from a file (previous message) and display it. And in the process you would replace the content with the new one, written in the form field.
lizciz is offline
Reply With Quote
View Public Profile Visit lizciz's homepage!
 
Reply     « Reply to Very Cool Script - I Can't Figure it Out!
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.29661 seconds with 12 queries