View Single Post
  #2 (permalink)  
Old Sep 12th, 2007, 04:37
c010depunkk's Avatar
c010depunkk c010depunkk is offline
SuperMember

SuperMember
Join Date: Apr 2007
Location: Willich, Germany
Age: 20
Posts: 593
Blog Entries: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to c010depunkk
Re: ACCESS HELP, trying to count groups

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
?>
Reply With Quote