943,547 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 1345
  • PHP RSS
You are currently viewing page 2 of this multi-page discussion thread; Jump to the first page
May 17th, 2009
0

Re: result multiple table data?

yes it has id i did mistake on writing its named same as id kkeith29?

any solution?
Last edited by m-hrt; May 17th, 2009 at 5:40 pm.
Reputation Points: 10
Solved Threads: 0
Light Poster
m-hrt is offline Offline
46 posts
since May 2009
May 17th, 2009
1

Re: result multiple table data?

It should work then. Something else has to be wrong.

add this: or die(mysql_error()); to the end of the mysql_query function. That way you can see if there are any database problems.
Reputation Points: 235
Solved Threads: 193
Nearly a Posting Virtuoso
kkeith29 is offline Offline
1,315 posts
since Jun 2007
May 17th, 2009
0

Re: result multiple table data?

i have done it like this but its not showing contact number why????

because its a number that's why?
Reputation Points: 10
Solved Threads: 0
Light Poster
m-hrt is offline Offline
46 posts
since May 2009
May 18th, 2009
1

Re: result multiple table data?

try this..

PHP Syntax (Toggle Plain Text)
  1. select t.id,t.from,t.to,t.date,t.fare,s.seat,u.first_name,u.last_name from trip t,seat s,user_information u where t.id=s.id
Reputation Points: 11
Solved Threads: 0
Newbie Poster
Poojasrivastava is offline Offline
13 posts
since Apr 2009
May 19th, 2009
0

Re: result multiple table data?

thanx for the help all really appreciate.

thanx
Poojasrivastava rep added also for kkeith29 thanx
Reputation Points: 10
Solved Threads: 0
Light Poster
m-hrt is offline Offline
46 posts
since May 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: Help MySQL5 and PHP5 billing system
Next Thread in PHP Forum Timeline: Database records and xml





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC