Jump to content

nadeemshafi9

Members
  • Posts

    1,245
  • Joined

  • Last visited

Everything posted by nadeemshafi9

  1. handel th first error, url file access is disabled, so use a relative path ../../../../ or wotever
  2. try readonly, or disabled, disabled will stop it being submitted, readonly may work on individual options, you need to e=document.getElementById('theselectboxid') on click for(i=0;i<e.select.options.length;i++){ e.select.options.[i].disabled or readonly = true; } i cant rembe rteh exact composition of teh select element as an array in javascript doc ob mod somthing like that, you can use firebug and in the commandline type in N=document.getElementById('theselectboxid') then you can look at the structure of the array the element is
  3. i suppose it comes down to the strength of the type in the environment, i suppose if you start adding more functionality to types the line boundaries start to disappear
  4. add the weight to the total weight, and then its about squaring numbers to add and then de-sqaring them to get the final dimensions - i think
  5. that makes sense in the c is simpler and closer lower level to the machine
  6. so what your saying that the basic object string is a less complex object in php than in c
  7. nah im talking about recruitment agents that find the jobs on websites so you dont have to
  8. telemarketers don't count. ofcourse they count i always go to about 7 or 8 interviews before i get my job and this is my 3rd job in 3 years and these guys want a long term thing extreemly rich company
  9. http://www.google.co.uk/#hl=en&source=hp&q=php+decimal+place&btnG=Google+Search&meta=&aq=f&oq=php+decimal+place&fp=c662ce1e81ac315b
  10. Consider the following array: $items = array( "banana" = > "fruit", "tomato" => "vegetable", "lentil" => "bean" ); $key = array_search('vegetable', $items); echo $key; may help
  11. me personaly i would do it in sql first for my own benefit and then change it if they say its slow, you can do a percentage in sql just need to use the right combination of functions however if you have a model for your databses setup giving full results then yes your way would be right, i was just doing it for his sake it would be neater and more understandable and less code. But yeh for that it would be good to do it your way, quick and simple
  12. i always wanted to learn MS c# professionaly because i was scared that php was free and all, but now there is alot of php work everyonere, i get about 10 calls a day i live near london home counties.
  13. yes you can do that if the database is too large but is not the proper way of doing it, but its used alot to counter a data summing time lapse in large tables
  14. $query = "SELECT sunocoimport.duns_num, custmast.gl_num, custmast.division_num, custmast.customer_num, sunocoimport.summary_date, sunocoimport.cc_fees, custmast.fee_percent, custmast.clear, SUM(col_1, col_2) AS sumed_collum FROM sunocoimport, custmast WHERE sunocoimport.duns_num = custmast.duns_num";
  15. how can i contribute to php ?
  16. as long as it dosent take any paramiters and is permissioned 0655 you are ok
  17. get the config file, redesign it, then just replace it, then put the old one back, or build in the timing to last 1 day with one config and then revert
  18. dude thats prety cool let me think, are all the servers clustered and mirrored, you could do this for your mysql server too
  19. absolutly right, a header.php footer.php and some database entity models classes eg user class wich embodies selectall and update add etc which can easily be coppied changed to encapsulate a new entity eg products. thats about as advanced you need to go for a good CMS and a config file.php
  20. in my new company we use an inhouse developed mvc, and sadly to say its a lower level version of the zend framework, you dont need to use an mvc but if you do it will benifit your skill and further development, things wont get out of hand.
  21. preg_match("/#picture(.*)#/", $html, $result); Array ( [0] => #picture,100,100# [1] => ,100,100 ) got it !!!!
×
×
  • 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.