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

Sufficient protection from bad input?
I am writing a simple script to let people upload 'pages' of their own content, be it simply a few b

Add code to enable passing of checkbox variable on login
Ok, I have a login page, but want to add a checkbox that when checked and successful login is made i

array ...
hi
Code: function formatCategories($categories, $parentId)
{
// $navCat stores all child

how to export excel file in same server
My first post - php newbie, so appreciate your support.

I'm currently using headers to save w

Upload simple problem
Really confused!! I run once and it worked, but when i tried today...it didn't work

Which par

Just cannot get 'area' to submit to db using same php code as already used
Basically all i have done is just modified some code and added an area section.
The form is allre

How to replace search button with link?
hi to everbody.
i have a search submit form and button like this :

<form id="f

BB_Code error
I'm having a problem with a custom built function and keep getting this error:


Warning: M

SAP Logon Failed
I tried to login to SAP through MMC.

When i click start and give password.

it

How to write on database when a link is clicked?
Hi, I have a list of products in a gridview. When the link is clicked currently it takes to an ext

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