![]() |
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! |
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 . |
Perhaps you should recheck the definition of rows/columns.
|
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...
|
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.
|
what do you mean with recheck the difination of row / columns
|
| All times are GMT -5. The time now is 5:41 PM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC