GetDotted Domains

Viewing Thread:
"MySQL - Displaying data in a table..."

The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.

Fri 22/08/03 at 16:57
Regular
Posts: 787
There you go Mod.

Just as you asked!

Anyway.

Does anyone know about MySQL and displaying the data in a table?

I've got a basic script to display it like this (http://www.phi11ip.com/mysql/display.php) but I want to be able to display it out of the rows and something like it shows at the bottom of the page...

Does anybody know how to do anything like this? If you can give me the general idea of what to do with a small example or a link to one I should be able to modify it and get it working...

Thanks.
Thu 28/08/03 at 00:06
Regular
"Chavez, just hush.."
Posts: 11,080
I've sorted the orignial script. (Main page of my site.) I've also got the jokes script working. (Click jokes!)

So thanks for helping with that. My next task is to work out how to call records from the database and edit them, although that shouldn't be too hard.

Oh, I soooo shouldn't have said that... Get ready for my next problem tomorrow!

But hopefully I'll be able to use the databases to update the football site I made so that it works well. I know what to do and having an understanding of using MS Access will make things far easier than if I didn't understand databases at all.

I'll keep you posted on any major breakthroughs!
Wed 27/08/03 at 22:15
Regular
"It goes so quickly"
Posts: 4,083
How's it all going?
Sat 23/08/03 at 21:35
Regular
"Chavez, just hush.."
Posts: 11,080
I'll use a seperate page for the posting of stuff, I've got this login thing done for it...

Anyway.

http://www.phi11ip.com/mysql/jokes.php (When my site is up again!)

You click the joke (number) and it takes you to another page where it displays the body of text (3x that number).

When done properly it will have the joke text and you click it to view the info.
Sat 23/08/03 at 17:16
Regular
"It goes so quickly"
Posts: 4,083
I did a script like this a year or so ago. I'd send it to you if I still had it, but I don't.

It didn't take all that long to do. You've got the theory worked out and thats the main part of any script. Coding it shouldn't be a problem at all.

Though I would suggest including some sort of password protection on the script, to stop others from using it to post.
Sat 23/08/03 at 17:07
Regular
"Chavez, just hush.."
Posts: 11,080
Like what I've got at the moment.

I post the article and it's stored in the database, I then have a page of listing all the articles that I've posted.

Using the id=1 or whatever thingy in the title I can then allow people to open up that article.

I know the theory, but it's gonna be a sod to get working!

I should be able to do it though!
Sat 23/08/03 at 16:56
Regular
"It goes so quickly"
Posts: 4,083
phi11ip wrote:
> I know how to do it, just not how. If that makes sense!

Not really, but I think I know what you mean. Good luck with whatever you're building from it.
Sat 23/08/03 at 16:55
Regular
"Chavez, just hush.."
Posts: 11,080
Yup, got it working now.

Thanks.

Now I can try and use this to, well, do some other thing that I've got in mind.

I know how to do it, just not how. If that makes sense!
Sat 23/08/03 at 16:48
Regular
"It goes so quickly"
Posts: 4,083
phi11ip wrote:
> It's always really really easy, and I can never work it out!

Its only easy when you know how. You can't expect to know everything though, can you?

Have you got it all working as intended yet?
Sat 23/08/03 at 15:51
Regular
"Vote for Me!"
Posts: 62
Whoops!
Sat 23/08/03 at 15:22
Regular
"Vote for Me!"
Posts: 62
I hate you.

I really do.

:cp

Freeola & GetDotted are rated 5 Stars

Check out some of our customer reviews below:

Unrivalled services
Freeola has to be one of, if not the best, ISP around as the services they offer seem unrivalled.
First Class!
I feel that your service on this occasion was absolutely first class - a model of excellence. After this, I hope to stay with Freeola for a long time!

View More Reviews

Need some help? Give us a call on 01376 55 60 60

Go to Support Centre

It appears you are using an old browser, as such, some parts of the Freeola and Getdotted site will not work as intended. Using the latest version of your browser, or another browser such as Google Chrome, Mozilla Firefox, or Opera will provide a better, safer browsing experience for you.