How to Extract from a database

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

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

Re: How to Extract from a database

Post by johnj » 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.

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

Re: How to Extract from a database

Post by johnmacd » 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

Who is online

Users browsing this forum: Google [Bot] and 1 guest