Hallo ich hbe bei Diesem Dreamviever Code
Folgende Fehlermeldung
Könnt ihr mir helfen dieses Rätsel zu lösen?
Code:
<table> <tr> <td>user_id</td> <td>nickname</td> <td>kennwort</td> <td>email</td> <td>rasse</td> <td>land</td> <td>register_datum</td> <td>login_zeit</td> <td>akt_id</td> <td>login_ip</td> <td>startfeld</td> <td>ICQ</td> </tr> <?php do { ?> <tr> <td><?php echo $row_Recordset1['user_id']; ?></td> <td><?php echo $row_Recordset1['nickname']; ?></td> <td><?php echo $row_Recordset1['kennwort']; ?></td> <td><?php echo $row_Recordset1['email']; ?></td> <td><?php echo $row_Recordset1['rasse']; ?></td> <td><?php echo $row_Recordset1['land']; ?></td> <td><?php echo $row_Recordset1['register_datum']; ?></td> <td><?php echo $row_Recordset1['login_zeit']; ?></td> <td><?php echo $row_Recordset1['akt_id']; ?></td> <td><?php echo $row_Recordset1['login_ip']; ?></td> <td><?php echo $row_Recordset1['startfeld']; ?></td> <td><?php echo $row_Recordset1['ICQ']; ?></td> </tr> <?php } while ($row_Recordset1 = mysql_fetch_assoc($Recordset1)); ?> </table> <?php require_once('Connections/ko.php'); ?> <?php $maxRows_Recordset1 = 10; $pageNum_Recordset1 = 0; if (isset($_GET['pageNum_Recordset1'])) { $pageNum_Recordset1 = $_GET['pageNum_Recordset1']; } $startRow_Recordset1 = $pageNum_Recordset1 * $maxRows_Recordset1; $colname_Recordset1 = "1"; if (isset($_SESSION['akt_id'])) { $colname_Recordset1 = (get_magic_quotes_gpc()) ? $_SESSION['akt_id'] : addslashes($_SESSION['akt_id']); } mysql_select_db($database_ko, $ko); $query_Recordset1 = sprintf("SELECT user_id, nickname, kennwort, email, rasse, land, register_datum, login_zeit, akt_id, login_ip, startfeld, ICQ FROM userdaten WHERE akt_id LIKE '%%%s'", $colname_Recordset1); $query_limit_Recordset1 = sprintf("%s LIMIT %d, %d", $query_Recordset1, $startRow_Recordset1, $maxRows_Recordset1); $Recordset1 = mysql_query($query_limit_Recordset1, $ko) or die(mysql_error()); $row_Recordset1 = mysql_fetch_assoc($Recordset1); if (isset($_GET['totalRows_Recordset1'])) { $totalRows_Recordset1 = $_GET['totalRows_Recordset1']; } else { $all_Recordset1 = mysql_query($query_Recordset1); $totalRows_Recordset1 = mysql_num_rows($all_Recordset1); } $totalPages_Recordset1 = ceil($totalRows_Recordset1/$maxRows_Recordset1)-1; mysql_free_result($Recordset1); ?>
Code:
user_id nickname kennwort email rasse land register_datum login_zeit akt_id login_ip startfeld ICQ Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in D:\xamp\xampp\htdocs\dinfo.php on line 31
Könnt ihr mir helfen dieses Rätsel zu lösen?
Kommentar