Dear Frederic, Bob,
Now we have finally succeeded to get a "counter" in the form, a nwe challenge, at least for me.
Based on Frederic's comments in teh old topic, I quess it would be possible to show in a diffenend form who (the"members) have suvbscribed to play teh game at a selected date (Wedstrijddatum)
But I have no clue whare or how to start....
It would be nice if the clubmember selects a date (Wedstrijddatum)
and get on his screen
nr. firstname middlename lastname
firstname middlename lastname>>all varchar(255) > string?
This is the code I have now in
Now we have finally succeeded to get a "counter" in the form, a nwe challenge, at least for me.
Based on Frederic's comments in teh old topic, I quess it would be possible to show in a diffenend form who (the"members) have suvbscribed to play teh game at a selected date (Wedstrijddatum)
But I have no clue whare or how to start....
It would be nice if the clubmember selects a date (Wedstrijddatum)
and get on his screen
nr. firstname middlename lastname
firstname middlename lastname>>all varchar(255) > string?
This is the code I have now in
<?
$db =& JFactory::getDBO();
$pst = "SELECT COUNT(*) AS %s FROM %s
WHERE %s = %s";
$query = sprintf(
$pst,
$db->nameQuote('items'),
$db->nameQuote('jos_chronoforms_TABLENAME'),
$db->nameQuote('Wedstrijddatum'),
$db->Quote(JRequest::getString('Wedstrijddatum')));
$db->setQuery($query);
$result = $db->loadObject();
$total = $result->items+1;
JRequest::setVar('total', $total, 'post');
?>