PHP2005 Posted August 28, 2008 Posted August 28, 2008 Hi all, I am trying to display the first record from an array list, but for some reason it is not working, any help will be appreciated. <?php foreach($AddFindRecord['data'] as $recordkey =>$recordDataFIND){ ?> <?php echo $recordDataFIND['Checkbox1'][0]; ?> <?php } ?> it is showing me all the record I checked in a checkbox but I only need the first record checked. thank you in advance
PHP2005 Posted August 28, 2008 Author Posted August 28, 2008 (edited) Ok I finally got it working. <?php echo($viewRecord['valueLists']['Checkbox1'][0]);?> Edited August 28, 2008 by Guest
Recommended Posts
This topic is 6000 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now