A
Anonymous
Guest
okay what is going wrong here, I used the exact same code to pull out a link from a database, now I just want it to pull out all fields in that row I ask for and did this:
but it is no work, what can I do to get it to work? please help, in a hurry here hehe, need it to work TODAY
Godiwa
Code:
$result = mysql_query("SELECT * FROM horses WHERE ID = $id");
$result_data = mysql_fetch_array($result);
//$url_link = $result_data["url"];
$name = $result_data["name"];
$regnr = $result_data["regnr"];
$owner = $result_data["owner"];
$breeder = $result_data["breeder"];
$gender = $result_data["gender"];
$picturelink = $result_data["picturelink"];
$id = $result_data["ID"];
$text = $result_data["text"];
$a1 = $result_data["a1"];
$a1reg = $result_data["a1reg"];
$b1 = $result_data["b1"];
$b1reg = $result_data["b1reg"];
$a2 = $result_data["a2"];
$a2reg = $result_data["a2reg"];
$b2 = $result_data["b2"];
$b2reg = $result_data["b2reg"];
$c2 = $result_data["c2"];
$c2reg = $result_data["c2reg"];
$d2 = $result_data["d2"];
$d2reg = $result_data["d2reg"];
but it is no work, what can I do to get it to work? please help, in a hurry here hehe, need it to work TODAY
Godiwa