| 
 Posted by Marcin Dobrucki on 09/07/05 15:22 
brendan wrote: 
 
> We want to allow the user to specify database columns by using 
>  
> [column name][colon][search text] 
>  
> i.e. 
> "author:Jane Smith institution:university of Cambridge year:1976" 
>  
> so basically we have to split the string at the beginning of any word that 
> ends in a colon. 
 
   Like this? 
 
   ... 
   list ($col, $string, $year) = split (":", $input); 
   ... 
 
   /Marcin
 
  
Navigation:
[Reply to this message] 
 |