How to link database queries

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!

Moderator: General Moderators

Post Reply
User avatar
deshetty
Forum Newbie
Posts: 10
Joined: Mon Aug 06, 2007 11:00 pm

How to link database queries

Post by deshetty »

Hello i have written a php script for listing . Im successfull in getting database queries. but now if i want link those queries to some other related files what should be added for below shown script

$list .="<td>".$row["city"] . "</td>";


Thanks
Begby
Forum Regular
Posts: 575
Joined: Wed Dec 13, 2006 10:28 am

Post by Begby »

You need to be a little clearer.... or maybe a lot clearer.
User avatar
califdon
Jack of Zircons
Posts: 4484
Joined: Thu Nov 09, 2006 8:30 pm
Location: California, USA

Re: How to link database queries

Post by califdon »

deshetty wrote:Hello i have written a php script for listing . Im successfull in getting database queries. but now if i want link those queries to some other related files what should be added for below shown script

$list .="<td>".$row["city"] . "</td>";
I don't have any idea what you mean by "link those queries to some other related files."
lafflin
Forum Contributor
Posts: 123
Joined: Thu Jul 26, 2007 6:26 pm

Post by lafflin »

Sometimes it's really difficult to explain what your trying to do, especially if your new to PHP and don't know all the terminology. I have this problem all the time as I am a beginner also. What I have found though is that if I take the time to articulate clearly what I am trying to do, which can take a while, I usually get pointed in the right direction. When I do not take the time to explain myself well, or I just can't figure out how I get nothing. The point that I'm trying to make is that there is a myriad of great minds here that usually will help you as long as they can understand what your saying, so don't be discouraged, just try to read what you've written objectively and ask yourself if people who are not familiar with your script can understand what your asking.
Post Reply