Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?
- mysql_select_db($dbname , $link);
- $looping = mysql_query("SELECT * FROM arabic");
- while($row = mysql_fetch_array( $looping )) {
- $ar[] = array($row['leble'] => $row['text']);
- }
- echo "<pre>";
- print_r($ar[0]);
- echo "</pre>";
- ?>
- /**
- * it will print
- * Array
- * (
- * [] => لا يمكنك ترك حقل الاسم الاول فارغا
- * )
- *
- * how can i just print the value?
- */
Add Comment
Please, Sign In to add comment