/[libdata]/branches/paul_xx/subject.phtml
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /branches/paul_xx/subject.phtml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

branches/paul/subject.phtml revision 68 by dpavlin, Fri Dec 5 18:40:01 2003 UTC branches/paul_xx/subject.phtml revision 69 by dpavlin, Thu Mar 18 20:01:09 2004 UTC
# Line 24  require_once ("header.phtml"); Line 24  require_once ("header.phtml");
24    
25  $sql = "SELECT subject, description FROM subject WHERE subject_id = "  $sql = "SELECT subject, description FROM subject WHERE subject_id = "
26          . $subject_id;          . $subject_id;
27  $rs = mysql_query($sql, $con);  $rs = xx_query($sql, $con);
28  $row = mysql_fetch_array ($rs);  $row = xx_fetch_array ($rs);
29  $subject = $row["subject"];  $subject = $row["subject"];
30  $description = $row["description"];      $description = $row["description"];    
31    
# Line 64  $sql = "SELECT Line 64  $sql = "SELECT
64          rsi.resource_id = r.resource_id          rsi.resource_id = r.resource_id
65          ORDER BY m.masterinfotype, i.infotype, r.title";          ORDER BY m.masterinfotype, i.infotype, r.title";
66    
67  $rs = mysql_query($sql, $con);  $rs = xx_query($sql, $con);
68    
69  // printf("sql was: %s<BR><BR>", $sql);  // printf("sql was: %s<BR><BR>", $sql);
70    
71  while ($row = mysql_fetch_array ($rs)) {  while ($row = xx_fetch_array ($rs)) {
72    
73          // Fetch information types for this subject          // Fetch information types for this subject
74          $masterinfotype = $row["masterinfotype"];          $masterinfotype = $row["masterinfotype"];

Legend:
Removed from v.68  
changed lines
  Added in v.69

  ViewVC Help
Powered by ViewVC 1.1.26