I can not display a message box from users. I want to display on the left side of the site a message box from users, it may be wishes for the site, etc ... or requests ... how to do this?
- Correctly ask the question: what does it mean to display a message box? Do you already have it somewhere? the problem is how to get them out of the database, or the problem is how to display them correctly on the site (html)? - Ozim
- just posting a message box on the site is not a problem, it should work without errors! the messages that should be displayed are written by the site visitor in a separate textarea window, and the messages should be displayed in a separate window from the bottom (top) ... - tagir
2 answers
Judging by the question / comments, it’s too early for you to deal with messages from users ...
To begin with, I advise you to deal with some kind of dynamic page generation, at least to suggest the user to fill out a form, and then show the contents of this form in the generated page.
Then - take on the very SQL - or rather, for the use of databases. I can recommend the book, he started php and MySQL with it - "Build Your Own Database Driven Website Using PHP & MySQL", Kevin Yank, 4th edition, unfortunately, of course, on the enemy ... You can immediately start with this book, if you know at least a little about programming in general and php in particular ... Good luck!
- if you know php well, you can do without a database, you just have to write the received comments to a file and then read them from there ... (simplified) - gote
- Thank you very much! sometimes you want to learn something new, and it turns out that no one really explains anything ... and you gave at least some clue, it remains for me to take this clue well! I am very grateful to this site, honestly! I saw on Yandex (...) this page, the programmers, I saw php, html wanted to learn this ... installed the dreamweaver program, and how to work on it and how to connect all this even in the manual is not written! Thanks again!))) - tagir
And the message from where undertakes?
Well, for example, you can do so
<div style="position: fixed; left:5px"> Сообщени </div>
If understood correctly of course. If you meant how to display the script, then you need to go to the php section
- The fact is that on the main page there should be a message box, an example is the same VKONTAKTE. This window, where the user enters what he wants to write, and the wall on which it should be stored on the site! In general, I understand how to do this (the length of the textarea lines must be leveled by some variable, which will serve as the output value on the wall) ... I am not an expert on sites, therefore with errors of output and equalization of objects ... (( ( - tagir
- as I said earlier without php or at least javascript is indispensable. Let's clarify what you have. Does hosting support php? Does it support SQL database? If you have a website on your computer, it is much easier to do everything - Node_pro
- I have php! I work for dreamweaver cs3. as I said before, I’m on the hook, so the prog is also not very good! I would understand how it all works! but what SQL I do not know! is this another hosting support? - tagir
- I work for dreamweaver cs3. as I said before, I’m on the hook, so the prog is also not very good! But what SQL I don’t know! is this another hosting support? Do I sleep or is this the next generation of PyHap? : D - Zowie
- @AlexWindHope Accurately noticed - KrasavcheG !! ahah)) =) Dear, at least some choices have shown us .. - Mikhail Nikolaev