Jump to content

[SOLVED] Wondering where the results went?


amites

Recommended Posts

Hello,

 

Seems I've been asking lots of questions on this one,

 

<?php
$query = "SELECT s.id AS msg_id, s.subject AS subject, 
	FROM bil_msg_sent AS s
	JOIN bil_msg_look AS l
	WHERE s.locid = l.locid
	ORDER BY s.msg_date ASC";
?>

 

I've verified that

 

bil_msg_sent.locid has an entry that equals 22

bil_msg_look.locid has an entry that equals 22

 

yet every time I run this script it comes back without an entry...

 

any idea what I'm missing?

Link to comment
https://forums.phpfreaks.com/topic/88271-solved-wondering-where-the-results-went/
Share on other sites

googled mysqli

 

I was correct, using mysql_

 

still not sure why this query won't give me results, only certainty is that it's simple

 

I always manage to solve the hard problems

 

btw: I like your personal text on the side, one of my favorite quotes - YEY Ghandi  :)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.