I could use a little assistance here if you don't mind. I am trying to pass a value on to another page by using dynamic content. I can do it by hard coding but just not dynamically.
Here's what I got. I am populating a table on my page from a field (mname) in my database. I have it set as clickable to go to another page. I am using CS Action to do this as i am using frames. might not be the best way to do it but all i can work with at this time.
I new at PHP so bare with me. I am only displaying 4 records at a time on my page. (have eight records currently in the D. When the page first loads, I see the following:
Test1
Test2
Test3
Test4
Using the following code on my page:
My action statement:
CSAct[/CMP/ 'C24BCE2'] = new Array(CSPAKtrg2frames,'MemberInfo',/URL/ 'MemberInfo.php?name=<?php echo $MemberList->Value("mname") ?>',/URL/ 'MemberStats.php');
I'm trying to pass the information via the NAME variable in the above line.
My table gets populated using the following:
<td><font size="1"><font size="2"><a onclick="CSAction(new Array(/*CMP*/'C24BCE2'));return CSClickReturn();" href="#" csclick="C24BCE2"><?php echo $MemberList->Value("mname")?></a></font></font></td>
Here's where it gets interesting. As displayed above, if I click on Test1, 2, 3 or 4.....Test1 is the value that is passing to the MemberInfo Page via this statement: 'MemberInfo.php?name=<?php echo $MemberList->Value("mname") ?>'
If i click to view the next four records: Test5, 6, 7 8 and then try to pass the value, Test5 gets passed for all four of these records?
Is this even possible?