Okej, im sorry if i wasent so clear what i want. I want to make system that stores dynamic information in the database that isent table specific. So if i want to make lets say a guestbook with that system insted of creating a table i want to fetch the guestbook data from different tables. Like this: function postReply($name, $msg, $date) { $id = make some uniq id here... mysql_query("INSET INTO textVars(id,fieldname,value) values('".$id."','gb_name','".$name."')"); mysql_query("INSET INTO textVars(id,fieldname,value) values('".$id."','gb_msg','".$msg."')"); mysql_query("INSET INTO dateVars(id,fieldname,value) values('".$id."',''gb_date'','".$date."')"); } What im trying to say is that i dont want to store data thats table specific. So if i want to fetch a gb reply ill use this function: function fetchReply($id) { $data = array(); $data['id'] = $id; $data['name'] = fetch row from textVars WHERE id=$id AND fieldname='gb_name' $data['msg'] = fetch row from textVars WHERE id=$id AND fieldname='gb_msg' ... and so on return $data; } Im wondering if this would make a big performance hit or if it would not so big and im also wondering if ther any better way to fetch data from differnt tables. I hope you understand what im trying to ask.