Making php query public
Posted: Tue Jun 22, 2010 2:23 pm
Hello, I'm new to php and I was wondering if you guys could help me out here. This is more of a logical question rather then a syntactical one.
I'm building a site that people can post bible verses and have them comment on the verse. That is functioning correctly as of right now. But what I want is for them to be able to share it with other people via a link.
http://biblev.com/users/viewVerse.php?versid=17
Example here is a link to a verse that I have responded to. You can't see the verse or anything because you're not logged in.
That is the code that checks to see if the verse should be displayed. Seeing as the query (i think ) is what is failing, how can I have it so that everyone can view it? I am VERY sure that there is a verse in the database and that rows is 1.
Thanks!
I'm building a site that people can post bible verses and have them comment on the verse. That is functioning correctly as of right now. But what I want is for them to be able to share it with other people via a link.
http://biblev.com/users/viewVerse.php?versid=17
Example here is a link to a verse that I have responded to. You can't see the verse or anything because you're not logged in.
Code: Select all
if(($result) && mysql_num_rows($result) >= 1) {Thanks!