By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,215 Members | 1,005 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,215 IT Pros & Developers. It's quick & easy.

Urgent Plz!!passing variable as variable

P: 28
Hello there,

Can anybody please help me with this.I used one php page from where i've sent a variable to other php page thru a hidden field (HTML).In that page i'm able to retrieve the value before i submit a button.From that page i forwarded the same value to the same page after submitting the button.There i'm just able to use the value as a static content.if fc is the value i retrieved

for ($i=0;$i<$fc;$i++)
{

$var = "a$i";
i have to retrieve a value from the database where a column value should be $$var.But there is no value for $$var.

Please help me with this.Hope this is understandable.

Thanks,
Shara.
Feb 26 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.