Mcfarlin Posted November 23, 2009 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
Joshua Posted November 23, 2009 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
Danny696 Posted November 23, 2009 Posted November 23, 2009 Two lines to fetch a row, optomize: $job = $db->fetch_row($db->query(some query)); Quote
Joshua Posted November 23, 2009 Posted November 23, 2009 ^ works to I stick to what i know, if it isnt broke............... =P Quote
Mcfarlin Posted November 29, 2009 Author Posted November 29, 2009 thx guys but i got it to work. prolly not the best way, but it does work. hehe Quote
Zero-Affect Posted December 1, 2009 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
Mcfarlin Posted December 2, 2009 Author 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
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.