Dynamically allocating the number of rows in a table based on a variable value


Posted on 16th Feb 2014 07:03 pm by admin

Hi,
I have situation here which i cannot resolve, I have a variable temp which stores the number of rows in a array for example temp=5 which is calculated based on other values in my table( so temp is generated dynamically) Now I have to define a table with the number of rows equal to the temp value. that is table should have 5 rows

How to achieve this.

No comments posted yet

Your Answer:

Login to answer
203 Like 35 Dislike
Previous forums Next forums
Other forums

Save User Inputs while javascript reloading!
hi..
i have written a PHP code in which i reload the page when user selects a value in dropdown..

email form (cannot find the problem)
Hello there. I've been having trouble with an email form. Can't find the problem really. I've tested

login form can you find my error?
registrationform.php seems fine send data to registration.php
registration.php seems fine checks

urldecode question
How would I format this line of code properly?

<?php echo urldecode($_GET['Title']); ?

Problem with a select distinct
I have a problema with a select distinct, I have the next sql:

select distinct a,b,c,d fr

opening a window with after form submission
I know this this forum has nothing to do with JS, but i'm trying to use it with my php script.
<

C++ API to Oracle dB
I need to perform a select command to the Oracle dB to obtain information from a table.
What libr

Shopping Cart
Can anyone direct me to a Simple, Basic structure of a shopping cart.
New to classes. I want to s

problem with refreshing
in my site, i have an index page, it has a main div. this main div's content is changing according t

Need PHP help... have all the elements... just need help putting them together :
Hey Guys,

I was wondering if someone could help me. I am doing a website for a client which

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash