I used this php code to create a menu using sql database
$num=rand();
$mysql="INSERT INTO menu_links SET menu_name='menu-thesis',plid=450,link_path='node/add', router_path='node/add', link_title='$num', options='a:1:{s:10:"attributes";a:1:{s:5:"title";s:0:"";}}',module='menu', hidden=0,external=0,weight=-3,
has_children=0,expanded=0,depth=3,customized=1,p1=257,p2=450,p3=463,p4=0,p5=0,p6=0,p7=0,
p8=0,p9=0,updated=0";
db_query($mysql);
Menu is working fine but main problem with "options"...