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

php include email form with attachment
I have had no luck with finding a email form all over the Internet for various reasons. Some insecur

Using insert variable
need a way to inert variable data to mysql database

$acc = "212121212";
$nok =

form variables from database help.
Hi all,

I would like to have a form that gives you options based on the results of an mysql q

ImageCreate()
When I create an image and add text to it I want my text to be replaced with a PNG image, because th

JQuery, Masterpage, and Control issue
Hey everyone, I am using JQuery in several sites so I thought it would be best to place the library

update 2 columns by doing inner 2-column query
Hi,
is something like this possible?

update contract_all set col1,col2 =
(

duplicate record notification
In my database, after insertion of records, I want to know if the record inserted is duplicate or no

HTAccess auto log in?
Hi all.

Too busy driving celebs about lately so I hope someone here can help me out.

I

Variable passed to each() is not an array or object
Hi,

This is a email a friend type of form, and it isn't working anymore.

<?

foreach iterator
Hi Guys
Does the foreach loop have an inbuilt iterator ?

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