Jump to content

[SOLVED] Quick Query Question


JSHINER

Recommended Posts

Have a quick question. $id = 000017

 

When I do the following:

 

WHERE table.id = '$id' AND table.other = table2.other

 

I get no results. But when I do:

 

WHERE table.id = '000017' AND table.other = table2.other

 

I get results. Am I missing something simple here? I'm sure I am, been a very long day.

 

Link to comment
https://forums.phpfreaks.com/topic/101136-solved-quick-query-question/
Share on other sites

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.