How to Extract from a database

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
php-forum Super User
php-forum Super User
Posts: 1803
Joined: Thu Mar 10, 2011 5:07 pm

Wed May 22, 2013 9:54 pm

You need to assign this query SELECT linkto FROM activity WHERE active= '$tags' to a variable, display (echo) it, copy that displayed query and run it from a database client like phpmyadmin and see if your query is picking the right records.

New php-forum User
New php-forum User
Posts: 72
Joined: Wed Jun 12, 2013 9:30 pm

Thu Jun 13, 2013 11:15 pm

It is possible that you have entered capital letters and in database all letters are in small case.Check it properly.

Post Reply