Welcome to Geeklog Tuesday, May 24 2022 @ 04:40 am EDT

Geeklog Forums

Databases


Status: offline

jackknyc

Forum User
Regular Poster
Registered: 08/12/03
Posts: 88
I want to add 2 databases to my site. 1 for US Fleamarkets and the other for Antique dealers. At the moment I have these as lists on my site. I want to make them into databases that visitors can add their info to. Is there qa way to do this? or has anyone seen something similar?
Thanks in advance,
Jack

You can see what I mean at http://www.iantiquesguide.com
 Quote

Status: Banned

machinari

Forum User
Full Member
Registered: 22/03/04
Posts: 1512
you would do well to write a plugin for this kindof thing. any of the many would make a good example for you to follow.

the basic idea is that you need an HTML form for getting user input>PHP backend to insert the data into the tables you've prepared in your database>a little bit more PHP to retrieve the data and display it on another HTML page.--simple

you could do the plugin or you could just use a PHP enabled static page. either way, you can control who adds, deletes, edits, etc. , using GL's user tables and perms.

It is just like a guest book. a user enters data, it is stored, and later retrieved, and finally displayed. so like I said, most plugins developed already will show you the way as they all have those basic principles going on. <shamelessplug>kinda like the index page of the dailyquote plugin that lists all the entries that users have submitted.</shamelessplug>
 Quote

All times are EDT. The time is now 04:40 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content