Jump to content

[SOLVED] Wondering where the results went?


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  :)

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.