timmah1 Posted November 17, 2011 Author Share Posted November 17, 2011 and ... did you figure it out ? No, nothing's been solved. I appreciate all the help. I'm stumped on this and have no idea why it don't recognize that id_pk. It's clearly in the db, but something, somewhere, is not letting me select it. Quote Link to comment https://forums.phpfreaks.com/topic/251267-code-does-not-return-any-results/page/2/#findComment-1288952 Share on other sites More sharing options...
phporcaffeine Posted November 17, 2011 Share Posted November 17, 2011 Is the database you are connecting to ( with mysql_select_db() ) the correct database? Do you perhaps have a 'test' database that you're connecting to and not realizing? Quote Link to comment https://forums.phpfreaks.com/topic/251267-code-does-not-return-any-results/page/2/#findComment-1288956 Share on other sites More sharing options...
timmah1 Posted November 17, 2011 Author Share Posted November 17, 2011 Is the database you are connecting to ( with mysql_select_db() ) the correct database? Do you perhaps have a 'test' database that you're connecting to and not realizing? No. I have one db that I'm connecting too Quote Link to comment https://forums.phpfreaks.com/topic/251267-code-does-not-return-any-results/page/2/#findComment-1288957 Share on other sites More sharing options...
phporcaffeine Posted November 17, 2011 Share Posted November 17, 2011 Purely because I am curious why this wouldn't be working; if you want to PM me some credentials, I have some time to take a look personally. Quote Link to comment https://forums.phpfreaks.com/topic/251267-code-does-not-return-any-results/page/2/#findComment-1288959 Share on other sites More sharing options...
timmah1 Posted November 17, 2011 Author Share Posted November 17, 2011 Purely because I am curious why this wouldn't be working; if you want to PM me some credentials, I have some time to take a look personally. I appreciate that. Everything that I have is in this thread, the code, and screen shots of the db. If you're asking for credentials to log in to the db, that, I cannot do. Quote Link to comment https://forums.phpfreaks.com/topic/251267-code-does-not-return-any-results/page/2/#findComment-1288960 Share on other sites More sharing options...
floridaflatlander Posted November 17, 2011 Share Posted November 17, 2011 Is this db on an online server or on your local host? Quote Link to comment https://forums.phpfreaks.com/topic/251267-code-does-not-return-any-results/page/2/#findComment-1288961 Share on other sites More sharing options...
timmah1 Posted November 17, 2011 Author Share Posted November 17, 2011 Is this db on an online server or on your local host? It's on the server Quote Link to comment https://forums.phpfreaks.com/topic/251267-code-does-not-return-any-results/page/2/#findComment-1288962 Share on other sites More sharing options...
phporcaffeine Posted November 17, 2011 Share Posted November 17, 2011 Purely because I am curious why this wouldn't be working; if you want to PM me some credentials, I have some time to take a look personally. I appreciate that. Everything that I have is in this thread, the code, and screen shots of the db. If you're asking for credentials to log in to the db, that, I cannot do. Look, I understand about security ... etc - personally I don't care about what is in your database. Regardless, 'everything' that you have, that is posted here, obviously isn't working - so, you try something different. Maybe there is something that you think is irrelevant but is actually the reason it isn't working .... that's what I am getting at. The definition of insanity is doing the same thing, over and over, expecting different results each time. Hope it works out for you. Quote Link to comment https://forums.phpfreaks.com/topic/251267-code-does-not-return-any-results/page/2/#findComment-1288964 Share on other sites More sharing options...
timmah1 Posted November 17, 2011 Author Share Posted November 17, 2011 Purely because I am curious why this wouldn't be working; if you want to PM me some credentials, I have some time to take a look personally. I appreciate that. Everything that I have is in this thread, the code, and screen shots of the db. If you're asking for credentials to log in to the db, that, I cannot do. Look, I understand about security ... etc - personally I don't care about what is in your database. Regardless, 'everything' that you have, that is posted here, obviously isn't working - so, you try something different. Maybe there is something that you think is irrelevant but is actually the reason it isn't working .... that's what I am getting at. The definition of insanity is doing the same thing, over and over, expecting different results each time. Hope it works out for you. Hey, I appreciate the offer, I really do, but look from my perspective, you say "personally I don't care about what is in your database", you're right, but a couple clicks, and the entire db is wiped out, I'm not saying you'd do that, but allowing someone access your db from a help forum, in my mind, is ludicrous. And you're right about the definition of insanity, hence, why I'm here. I've been trying multiple different ways to get this to work, with no luck Quote Link to comment https://forums.phpfreaks.com/topic/251267-code-does-not-return-any-results/page/2/#findComment-1288966 Share on other sites More sharing options...
floridaflatlander Posted November 17, 2011 Share Posted November 17, 2011 Is this db on an online server or on your local host? It's on the server How big is it, can you place the db on our localhost and test there? Quote Link to comment https://forums.phpfreaks.com/topic/251267-code-does-not-return-any-results/page/2/#findComment-1288971 Share on other sites More sharing options...
phporcaffeine Posted November 17, 2011 Share Posted November 17, 2011 Hey, I appreciate the offer, I really do, but look from my perspective, you say "personally I don't care about what is in your database", you're right, but a couple clicks, and the entire db is wiped out, I'm not saying you'd do that, but allowing someone access your db from a help forum, in my mind, is ludicrous. I would have expected you to replicate the database that your trying to connect to into another database and put me in that one; I wouldn't let anyone in my LIVE database either. Quote Link to comment https://forums.phpfreaks.com/topic/251267-code-does-not-return-any-results/page/2/#findComment-1288972 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.