Search found 4 matches
- Fri May 22, 2009 3:00 am
- Forum: PHP - Code
- Topic: echoing an array
- Replies: 6
- Views: 137
Re: echoing an array
Legend! Thanks Mark! Much appreciated!
- Fri May 22, 2009 2:33 am
- Forum: PHP - Code
- Topic: echoing an array
- Replies: 6
- Views: 137
Re: echoing an array
Oh yeah, sorry guys! Im assuming what Gabriel was referring to was that the code i post, needs to be placed between [ code=php ] & [ /code ] so that it looks like Gabriel's post????? <?php include ('server.php'); $query = "select * from movies"; $result = mysql_query($query) or...
- Fri May 22, 2009 1:03 am
- Forum: PHP - Code
- Topic: echoing an array
- Replies: 6
- Views: 137
Re: echoing an array
Hi guys, My tables looks like this: movieID movie_title 1 Seven Pounds 2 Tranformers 3 Angels & Demons 4 Bamboozelled 5 Waltz With Bashir And my code looks like this: <?php while($row = mysql_fetch_array($result)) { echo $row['movieID']. " - " .$row['movie_title']; echo "<br />&qu...
- Fri May 22, 2009 1:00 am
- Forum: PHP - Code
- Topic: echoing an array
- Replies: 6
- Views: 137
echoing an array
Hi guys,
My tables looks like this:
movieID movie_title
1 Seven Pounds
2 Tranformers
3 Angels & Demons
4 Bamboozelled
5 Waltz With Bashir
My tables looks like this:
movieID movie_title
1 Seven Pounds
2 Tranformers
3 Angels & Demons
4 Bamboozelled
5 Waltz With Bashir