Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Software Development
Programming
Programming Q&A
[PHP] Help Grabbing From 2 tables [MySql]
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="griimnak" data-source="post: 359029" data-attributes="member: 35695"><p>I suggest you start to use PDO for your web applications.</p><p>It's secure, prepares your query before executing it, and you can bind certain params cleanly. Oh, and it's not depreciated.</p><p></p><p>However, on topic;</p><p>[PHP]$query3 = mysql_query("SELECT name FROM jobranks WHERE jobrank = '".$query2['groupid']."' AND rankid = '".$query2['jobrank']."'");[/PHP]</p><p>[PHP]AND rankid = '".$query2['jobrank']."'" [/PHP] </p><p>you sure that part is right?</p><p></p><p>Otherwise rasta should have you on this, man.</p></blockquote><p></p>
[QUOTE="griimnak, post: 359029, member: 35695"] I suggest you start to use PDO for your web applications. It's secure, prepares your query before executing it, and you can bind certain params cleanly. Oh, and it's not depreciated. However, on topic; [PHP]$query3 = mysql_query("SELECT name FROM jobranks WHERE jobrank = '".$query2['groupid']."' AND rankid = '".$query2['jobrank']."'");[/PHP] [PHP]AND rankid = '".$query2['jobrank']."'" [/PHP] you sure that part is right? Otherwise rasta should have you on this, man. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Software Development
Programming
Programming Q&A
[PHP] Help Grabbing From 2 tables [MySql]
Top