Posted by endlesstide on 09/28/72 11:44
$sql_query = "SELECT * FROM $table WHERE entry = 4";
// now put all the data into arrays
$dd = 0;
while ($row = mysql_fetch_row($result)) {
$column4[$dd] = $row[3];
$dd++;
I am trying to simplifly this query -- I don't want to select * from
the table, I want to only get data from column called "column4". I
know the next part putting into the arrays is redundent. I just want a
single record. Is running a select * going to add lots of overhead to
the server?
Navigation:
[Reply to this message]
|