PHP-Code:
<?php
$sql = "SELECT
*
FROM
".$prefix."_worksheet
WHERE
YEAR(date)=".$this->intyear." AND
MONTH(date)=".$this->intmonth." AND
DAYOFMONTH(date)=".$intday." AND
eid = ".$_REQUEST['cuser']."";
$worksheetquery = $DBase->query($sql);
while ($row = mysql_fetch_object($worksheetquery)){
$projektquery = $DBase->query("SELECT
*
FROM
".$prefix."_projekt
WHERE
status = '1' AND
pid = '".$row->pid."'");
$prow = mysql_fetch_object($projektquery);
$typquery = $DBase->query("SELECT
name
FROM
".$prefix."_type
WHERE
tid='".$row->tid."'");
$trow = mysql_fetch_object($typquery);
}
?>
würde mich um eure hilfe freuen. Kann auch gern ein "PEAR" query sein
Kommentar