Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How can I create a log for the dice roll generator on my website?

New Here ,
Feb 27, 2010 Feb 27, 2010

Here is my website: http://gator789.hostgator.com/~stillman/index.html

I want to create a log for each time the roll button is clicked to generate a random image of a six-sided die on my website. I was thinking maybe a MySQL database with PHP would get me what I want? I have no idea how I would start setting this up though. I don't want to sound to pushy here, but I would also like to have a form setup above the roll button for name details, etc. How would I go about doing this?

TOPICS
Server side applications
721
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 28, 2010 Feb 28, 2010

Anyone? I check this topic hourly, and I hope someone will be able to help me soon.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 28, 2010 Feb 28, 2010

Yes, you could use a database and server side scripting language. Are you familiar with MySQL and PHP?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 28, 2010 Feb 28, 2010

I know a bit about PHP and MySQL. I'd need someone to help me walk me through what I'd have to do though.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 28, 2010 Feb 28, 2010

Can you tell me what I need to do?


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 28, 2010 Feb 28, 2010

Anyone?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 28, 2010 Feb 28, 2010

You should be able to accomplish most of this with the insert record server behavior.

And please be more patient. This is a user to user forum that gets little activity during the weekend. Repeatedly 'nagging' every 30 minutes is more likely to annoy people than to get you help any faster. For app dev questions it is not uncommon to have to wait 24 hours or more for a reply.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 01, 2010 Mar 01, 2010

Bregent, I have no idea how I would do that.

Isn't there any tutorials for creating MySQL logs or something?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 01, 2010 Mar 01, 2010

>Isn't there any tutorials for creating MySQL logs or something?

MySQL logs are files that are used to keep track of server activity. That's not what you want. You need to insert rows into a database. As I said, use the insert record server behavior. If you are not familiar with this then start by reading the DW help and tutorials on this behavior.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 01, 2010 Mar 01, 2010

Could you link me to the tutorials section? I tried looking, but couldn't find it.


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 01, 2010 Mar 01, 2010
LATEST

Try this tutorial.

http://help.adobe.com/en_US/Dreamweaver/10.0_Using/WScbb6b82af5544594822510a94ae8d65-78a4a.html

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines