Jump to content

dont know where to post this one...


newfreakintown

Recommended Posts

at ripway, i made a little chatbox for my profile..

 

it has 4 files.

 

-chatbox1.php

-chatbox2.php

-chatbox3.php

-and a HTML file

 

 

in chatbox1.php, it has all the forms..( i will work the design later  )

it has 5 input boxes...

 

-name

-email address

-friendster url

-picture url

-message...

 

when they input their infos there...

 

those data will be sent to chatbox2.php and in there is a code that will deliver those data to my HTML

 

you ask why my database is made of HTML instead of TXT?

 

because in HTML i can make images links.. which is not applicable on txt files..

 

and in chatbox2.php, when they brought there, they will be brought back to chatbox1.php

 

in chatbox3.php, i made it only, to display 2 iframes.. for chatbox1.php(forms) and HTML(data)

 

to display them as chat messages..

 

 

here it is..(simple)

 

http://h1.ripway.com/newdestiny/chatbox3.php

 

 

my questions are:

 

-how can i possibly make all new entries(messages) be on top of previous messages.. because the code i have in php will just append those new messages below the previous messages.. my concern is how can my visitors see the new messages if they are in below???

 

 

-how can i possibly make new entries appear on the HTML file so that my visitor can see new messages if this is the situations is this..when i send new messages.. it will not appear on the html file unless i press refresh button..i have a remedy for this, i put a button which will refresh my html, but is it possible that when a new message is entered, it will be post that time..( i hate english, i love algebra more.. )

 

 

-last question...is there any hosting site that allows php scripting aside from ripway?

Link to comment
https://forums.phpfreaks.com/topic/165895-dont-know-where-to-post-this-one/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.