myfahim Posted May 28, 2012 Share Posted May 28, 2012 Hi, According to my PHP code, if there is more than one result it displays all result's all field. But I need there will show only one or two field of each result. And after click one of them it will show it's all field. I am not a programmer, just do coding as I need with my little knowledge and help of forum. Please someone help me. Fahim Link to comment https://forums.phpfreaks.com/topic/263271-regarding-mysql-query-with-php/ Share on other sites More sharing options...
smerny Posted May 28, 2012 Share Posted May 28, 2012 limit select * from table where foo='bar' limit 1 Link to comment https://forums.phpfreaks.com/topic/263271-regarding-mysql-query-with-php/#findComment-1349222 Share on other sites More sharing options...
fenway Posted June 2, 2012 Share Posted June 2, 2012 limit select * from table where foo='bar' limit 1 Sounds like the OP is talking about fields, not records. Link to comment https://forums.phpfreaks.com/topic/263271-regarding-mysql-query-with-php/#findComment-1350639 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.