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

Did you know?Explore Trending and Topic pages for more stories like this.
How to achieve this.
No comments posted yet

Your Answer:

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

How many users online in the last 24-hours using time()?
I'm fairly new to PHP. I have a MySQL table called 'users' and a field called 'loggedin' which is in

random generation
hi

i need help with generating this

numbers from 1-12

i want to generate in ran

Multiple Pages
Hi. Im very new to php. I'm trying to create a basic login/registration page.

So I have a bas

i want run some web server under the ip sharer
hello i want run some web server under the ip sharer
my ip is floating ip but it doesnt matter

How to copy a part of a vector in a raw memory
Hi,

How can I copy a part of a vector into a memory:

1
2
3
4
5

Collecting AOL Search Terms
I am attempting to collect AOL search terms. I know the code is correct (it works for google, bing,

Server side $_SESSION
how does one keep the session completely server side. no cookies to the browser at all. i need this

convert PHP array to Javascript array
I have a page that gets a request sent from AJAX, and I am trying to convert a PHP array to a javasc

Appending GET data with form submition
Okay, what I'm trying to do is to use a form to append an already existing GET data string.

I

newbie error
what is wrong with this code ?

<html>
<body>

<?

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