Mcfarlin Posted November 23, 2009 Share Posted November 23, 2009 basically i was trying to make a mod and failed thus far. i wanted to see if anyone of the "good" coders here might be up for the challenge. my idea involves changes to the following jobs view user hof addition i thought it would be easy at first but as i got into it it turned out above my skill level. PM if you are interested and i will give you a full description of what i was needing. and yes i will pay for good work. Quote Link to comment Share on other sites More sharing options...
Joshua Posted November 23, 2009 Share Posted November 23, 2009 $star=$db->query("SELECT * FROM jobs WHERE userid=$userid"); $job=$db->fetch_row($star); if($job['jobrank'] = certain rank) { $image= "<image here>" } elseif( etc etc then print out $image w/e you want image to appear. Quote Link to comment Share on other sites More sharing options...
Danny696 Posted November 23, 2009 Share Posted November 23, 2009 Two lines to fetch a row, optomize: $job = $db->fetch_row($db->query(some query)); Quote Link to comment Share on other sites More sharing options...
Joshua Posted November 23, 2009 Share Posted November 23, 2009 ^ works to I stick to what i know, if it isnt broke............... =P Quote Link to comment Share on other sites More sharing options...
Mcfarlin Posted November 29, 2009 Author Share Posted November 29, 2009 thx guys but i got it to work. prolly not the best way, but it does work. hehe Quote Link to comment Share on other sites More sharing options...
Zero-Affect Posted December 1, 2009 Share Posted December 1, 2009 Two lines to fetch a row, optomize: $job = $db->fetch_row($db->query(some query));considering the * i dont think multiple lines is a issue really Quote Link to comment Share on other sites More sharing options...
Mcfarlin Posted December 2, 2009 Author Share Posted December 2, 2009 no it wasnt a part of it, i got this one up and working fine now. i just wasn't thinking about it correctly, then it hit me and TADA! lol Quote Link to comment 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.