Jump to content

spiderwell

Members
  • Posts

    1,008
  • Joined

  • Last visited

Everything posted by spiderwell

  1. whats also confusing is that the hash (which ironically i can't find on this mac keyboard) sign in UK is called the pound sign in america. p.s where is it on a mac keyboard dammit!! i got a euro sign €€€€€€
  2. ah i think its my mistake for missing out one tiny bit but important bit. change this $arrBranches to $arrBranches[] when looping through the database the difference is tiny but crucual
  3. i had huge issues when some set my keyboard on my phone to korean.
  4. perhaps but when you are use to spending near on 400 quid a month on fuel, the financial advantage is immediately obvious
  5. you should see my gf's french keyboard, its a disaster (for me anyway) google found one:
  6. only october just gone, however i am moving to london to try get better wage, i earned 27k there 10 years ago, not quite sure what happened ol. (well i do but i wont bore you with details). they dont want me to leave until end of april, but as mentioned earlier i can work from home 24/7 for 2 and a half months! result!
  7. Ok first of all theres no looping of recordset to fill an array to make the dropdown, so i have added that and fills an array with that info, i also moved things around a bit to make more sense for you, also i havent checked for typos or syntax, so you might need to do that $sql="SELECT stafflist.id, stafflist.full_name, stafflist.branch, branch.branchid, branch.branch as branchname FROM stafflist left Join branch on stafflist.company=branch.companybranch WHERE id = '".$staffid."'"; $result=mysql_query($sql); $userbranch = mysql_fetch_array($result); $sql1="SELECT * FROM branch WHERE companybranch = '".$company."'"; $result1=mysql_query($sql1); while ($row = mysql_fetch_array($result1)) { $arrBranches = $row //this is putting each row from database into array to use later } ?> <select id="userlevel" name="userlevel"> <option value="0">Choose one</option> <? foreach ($arrBranches as $branch)//for each array in the array of branches { echo '<option value="' . $branch['branchid'] . '"'; if($userbranch['branch'] == $branch['branchid']) echo ' selected '; echo '>'; echo $branch['branch']; echo '</option>'; } ?> </select>
  8. yeah i had 1k rise from 16k to 17k and it gave me about 46 quid more per month!
  9. you are POSTing the variables to login_ajax.php and it is using $_GET to retrieve them
  10. <select id="user_groupid" name="user_groupid"> <option value="0">Choose one</option> <? foreach ($arrUserGroups as $arrGroup) { echo '<option value="' . $arrGroup['group_id'] . '"'; if($arrUser['user_groupid'] == $arrGroup['group_id']) echo ' selected '; echo '>'; echo $arrGroup['group_name']; echo '</option>'; } ?> </select> this should point you in the right direction, i have in this case already filled arrUserGroup with values from my database
  11. latest versions of IE have deleoper tools which are basically the same as firebug too
  12. have you go the correct doctype at the top of the page, this can make huge differences between browsers
  13. w3schools isn't the most reliable of sources, I should add. If you are just learning css, it might be worth reading up about CSS resets, which resets all elements to zero margins and paddings, so consistency across browsers is easier to achieve. it does mean you have to re define the ones you reset, but at least you know they will match across browsers
  14. I would agree, expecially the boxes on the right. The site looks like a skinned phpBB3 forum ? is that about right? I like the look though, but green is a colour I like a lot
  15. what is in the img src? and what is the $cachebuster? is that affecting the image source?
  16. hey well done!! that will work out about just under 100 quid extra take home per month!
  17. I would say the iamges are far too heavy at 1.5meg each, you really need to optimise those, it takes 5 seconds to load for me and in the meantime i get ugly blank screen. I think the probverb and image should be linked, and change together, but what found rather odd was the font size changing depending on the quote, rather than say the box expanding to fit the text.
  18. Can you tell me why Thorpe? being a self taught person, I don't always pick up on whats the best methods for things.
  19. please post the relevant code so we can at least have an idea where to start
  20. thats why proof reading is a big thing, its often easier to spot mistakes in someone else's text than your own.
  21. I think you need eval to run it on the fly public function setMethodForms($methodName){ echo $methodName." and does it exist ". (int)method_exists($this->formsObj, $methodName); //test to see if the method exists if ((int)method_exists($this->formsObj, $methodName) == 1){ //if it does exist eval ('$arrProjects = $this->formsObj->' . $methodName . '()'); $return $arrProjects; } return false; } i haven't checked the code to test it for typos, but you have to evalulate the code, pass the response to a variable called $arrProjects which is then returned.
  22. spiderwell

    PNG Issue

    I was just guesitmating those percentages, just to give you the idea well if you know the width of the container and the viewport, take the smaller from the larger to get a figure of remaining area and divide that by 2 and the left and right div should be that width. i guess the problem is the outer ones need to expand to fill the screen so they cant be fixed. I'm not so sure how to do that really, It might be easier to use a table with 3 columns and use fixed center and * for the other 2 cells. but i hate tables.
  23. use the same one as at the top, its probably more reliable if(!empty($_FILES["link_image"]["name"]))
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.