PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Here is the a problem i have a database in the table links there is a row 'name' this row contais a several names but some of them are similar i want to show this row results without repeating i do like this
note the single quotes around 'name'. Although it will work at present the way you have it, PHP will be issuing warnings for every call to this. The PHP behaviour may change in the future so I would suggest doing it properly now.
Also if only interested in one field from your table then just include that field in the SELECT clause