Jump to content

Archived

This topic is now archived and is closed to further replies.

Avalanche

A Couple Questions (I'm Only A Beginner, Have Mercy!)

Recommended Posts

Okay, well, here goes...

 

1) How can I update data in a table without knowing the previous data in it?

2) How can I turn data in a MySQL table to a PHP variable?

3) Is there a way to display all types of X (x being anything) data in a table instead of having to enter a specific ID number?

Share this post


Link to post
Share on other sites

what you need is a good php/mysql tutorial

 

http://hotwired.lycos.com/webmonkey/progra.../tutorial4.html

 

not the best one out there but I like it

 

and php mysql tutorial in any search engine works wonders.

 

 

sounds like you have never looked at a piece of SQL code, it would take pages and pages and hours and hours for someone to try and teach you from the beginning on this forum.

 

take a look at some of the tutorials and if any concepts you don\'t understand or specific questions you might have I would be happy to help.

Share this post


Link to post
Share on other sites

Yeah, I tried that tutorial before. It\'s for if you are hosting MySQL on your own machine instead of a web server (which I use). Any code on there won\'t work if I put it on a web server.

Share this post


Link to post
Share on other sites

http://www.phpfreaks.com/tutorials.php

 

look through here some good tutorials

 

I can\'t answer any of you specific questions because they are pretty broad based and would take hours to go from beginning to end.

 

Do a little reading and if you have some specific questions like

 

here is the situation

this is what I want to do

this is what I tried

it didn\'t work

what now?

 

I would be glad to help.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.