View Single Post
  #3 (permalink)  
Old Sep 12th, 2007, 11:20
fbm2themex fbm2themex is offline
New Member
Join Date: Sep 2007
Location: Chicago
Age: 22
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Re: ACCESS HELP, trying to count groups

Quote:
Originally Posted by c010depunkk View Post
well, if you're using PHP you could use the explode function:
PHP: Select all

<?php
foreach($rows as $row) {
  
$parts=explode('Y',$row);
  
// now $parts[0] holds the first number
  // and $parts[1] holds the second number
  // and if $parts is empty (count($parts)==0), then there was only one number
?>
no, im using access for this..still, this seems way simpler. thanks though, if theres no way to do it in access, il keep this in mind...
Reply With Quote