2011/3/14 E A Faisal <eafai...@gmail.com>: > Lazy query vs greedy query perhaps. People in FOSS are usually "lazy", hence > make use of lazy query. Vendors are usually "greedy" and hence make use of > greedy query :)
<?php $result = mysql_query("SELECT student_id FROM students"); while ($row = mysql_fetch_row($result)) { $student_details = mysql_query("SELECT * FROM students WHERE student_id = %d", array($row['student_id'])); print $student_details ....; } postgres pun boleh mati kalau ada query macam ni. -- To unsubscribe from and detail about this group http://portal.mosc.my/osdc-my-mailing-list-information MOSC2011 http://fb.me/mosc2011