![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Newbie
Join Date: Apr 2006
Posts: 2
Rep Power: 0
![]() |
I'm need storage tabular data into my database
Salut!
I'm doing a php + mysql projet for my university and the last point that I should face is add to the database support for storage tabular data as after that I should print it in a web page and in pdf files. My problem consist of that Itīs not possible to know the number of rows or columns before the user begin working. In others words,tables will be different each other. so... Anybody can help me?? Merci! |
|
|
|
|
|
#2 |
|
Programmer
|
no you can know who many columns are there in the table
SELECT COUNT(*) as Num FROM Table that script is to know how many codes are there in the table an it can have where tag to select the number of rows that have a same value . |
|
|
|
|
|
#3 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Perhaps you should recheck the definition of rows/columns.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#4 |
|
Newbie
Join Date: Apr 2006
Posts: 2
Rep Power: 0
![]() |
Actually , my problem begins before... I must build special tables in the db for storage le tabular data. So that, my problem is that theses "db-tables" must give support for different types de tables...
|
|
|
|
|
|
#5 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Sorry, my comment was addressed at ASHORY, but I didn't make that clear. Investigate the CREATE DATABASE, CREATE TABLE, and related items. If you want more information, you need to provide more information. The precision and applicability of the responses will be proportional to the precision and depth of the information in your posts. Write some code. Explain how it fails to delight you and show the areas where that failure occurs.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#6 |
|
Programmer
|
what do you mean with recheck the difination of row / columns
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|