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

PHP header help!
Hi all I am trying to get this php page to refresh every 5 seconds on my phone which is an aastra 48

upload photo limits
ive got a upload photo script and im just trying to make more secure currently it limits size and as

first few characters only
hi, does anyone know how to use PHP to take the first few words of a text and limit them? i have see

Simple Scraper... Weird Output
Okay, maybe I just need a Blue Monster and some sleep, but....

I'm scraping a ringtone site

PHP MySQL Return Results Issue
Hi guys,

I'm running joomla and made a module which is using ajax.
Basically i just have a

Unifying logins of two different scripts
I have two different game scripts which I want to embed on my own site. The problem is I don't want

Checking if variable is 0 as opposed to NULL/Empty...
I'm trying to write some code that will retrieve a user's access level from my database and if it do

$_GET problem
Hi all,

Have a bit of a problem with a little piece of code, I am not sure if this should be

need to apply an if/else statement to Tim Thumb script
Not sure how to work this. I essentially want to call a variety of image sizes based on which style

this code is not working????
it says this error.. Warning: Division by zero in ..

the variables are correct, so why is th

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