First, I can't tell if you are trying to populate the query strings from associative arrays, or if you are mistakenly forgetting the "$" character for the variables that point to the array keys.
If they are associative (use strings for array pointers rather than numbers)
echo "<a href=\"admin.php?action=edit&edit_id=" . $row["id"] . "&edit_title=" . $row["title"] . "&edit_text=". $row["text"] ."\">
<img src=\"edit.gif\" border=\"0\" alt=\"Edit Record\"></a>";
Make sure that the arrays that they refer to also have the quotes where needed.
Otherwise, if they are normal arrays
echo "<a href=\"admin.php?action=edit&edit_id=" . $row[$id] . "&edit_title=" . $row[$title] . "&edit_text=". $row[$text] ."\">
<img src=\"edit.gif\" border=\"0\" alt=\"Edit Record\"></a>";