Yeah the pages are there.. but I'm stuck on page 1. When I try to click.. say.. page 2, it just times out and doesn't get there. Then, I've tried changing the limit and clicking 'Show'. That doesn't work either. I've tried changing the limit in the "Process This" box above.. and it just all does the same thing. In the past I could easily bring up 1000 rows at once... and now it's just not working at all. It all started when I attempted to use this script:
<?php
$host = "localhost";
$user = "gwynevere_clan";
$pass = "blahblah";
$db = "gwynevere_clan";
$tbl = "members";
mysql_connect($host, $user, $pass)or die("cannot connect");
mysql_select_db($db)or die("cannot select DB");
$sql = "SELECT * FROM $tbl WHERE clan='{$_SESSION[SESS_CLAN_ID]}'";
$result = mysql_query($sql);
$entries = mysql_num_rows($result);
if(isset($_POST['submit'])){
$login = $_POST['login'];
$title = $_POST['title'];
for($i=0;$i<$entries;$i++){
mysql_query("UPDATE $tbl SET title='$title[$i]' WHERE login='$login[$i]'") or die(mysql_error());;
}
}
?>
<form method="post" action="" name="form1">
<table width="100%" cellspacing="1" cellpadding="0">
<tr>
<td align="center">Name</td>
<td align="center">Title</td>
</tr>
<?php
while($info = mysql_fetch_assoc($result)){
?>
<input type="hidden" name="login[]" value="<? echo $info[login];?>" />
<tr>
<td align="center"><? echo $info[login];?></td>
<td align="center"><input type="text" name="title[]" value="<? echo $info[title];?>" /></td>
</tr>
<?php
}
?>
<tr>
<td align="center" colspan="100%"><input type="submit" name="submit" value="Submit" /></td>
</tr>
</table>
<?php
mysql_close();
?>
Did the script mess it up somehow? Cause the script worked ONCE to update my table.. then after that it just didn't work at all. And now I can't even get 110dbmanager to work for ANY database. It only seems to be this form/script that is incredibly slow... it works.. it just takes forever to process, if it manages not to time out. Other forms on my site work just fine. But I don't know... I re-downloaded 110dbmanager and it still doesn't work. I'm at a loss on what to do and feeling rather desperate for a solution.
Sorry for the multiple posts, but I usually wait many hours before posting again. Getting a response here seems to take a while and I feel like my post will get lost and forgotten.