I’ve got this in my php file
$atr_info = "SELECT * from attributes";
$atr_info2 = mysql_query($atr_info) or die ("Couldn't get attributes");
$atr = mysql_fetch_array($atr_info2)or die ("Couldn't make array");
die ($atr['attribute'][n]);
The attributes table has 3 columns: id,attribute,tooltip
and has lots of rows. I want to be able to return the value of the row “n” in column attribute but it doesn’t work it returns the first row of the column and the shows the Nth letter in that field, how can I make it work?
Now you cann access the attribute-column in row 45 like that: