Welcome to Geeklog, Anonymous Friday, March 29 2024 @ 09:07 am EDT

Geeklog Forums

MySQL and PHP


Anonymous

Anonymous
just a general PHP and MySQL question really! i have set up a basic table set in html and am wondering how i display information from a mysql database into a given table. am guessing ther is some code that needs inputting into the table to bring down the info from the database, am i right??
 Quote

Status: offline

Matty

Forum User
Junior
Registered: 02/01/02
Posts: 25
That's an extremely broad question. Essentially what you're asking is "how do I script using php/mysql", and that would take a long long time to explain. I've been learning php/mysql for about 4 months now, and I'm far from mastering it. So, I suggest visiting php.net, phpbuilder.com or sitepoint.com, or even studying the Geeklog code to get an idea on what it's all about. Better yet, get a good book on php. A basic answer to your question... connect to the database, query the database, put the data into an array, then display the data. -----Matty
Matty
 Quote

All times are EDT. The time is now 09:07 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