Jump to content

nadeemshafi9

Members
  • Posts

    1,245
  • Joined

  • Last visited

Everything posted by nadeemshafi9

  1. $child = array_merge($child, getChildCategories($categories, $catId)); if(!is_array($child)) echo "error"; else if (count($child ) >= 1) echo "array has result"; else echo "error";
  2. iv had around 13 interviews and i think if your going to an interview that you realy want to suceeed in, i reckon you should do a few dud ones first and then go for the one you want, go to some senior php roles you dont want and check them out what they say and that.
  3. is there anything included above this code in an include or somthing else or some other code ? .
  4. i had a java teacher and a ADA teacher, they were both from the army one worked on the jaguar jet coding
  5. when decent English is required, it gets checked over, my teachers told me you have to judge whether testing is necessary and how much, i apply this to all parts of life. What real advantages would i recive by spending extra time on spellings on this forum, the message gets accross and i dont waste any more time than is necessary, but im productive and have contributed lol.
  6. if(count($array) >= 1) echo "array has result"; else echo "error";
  7. a senior php developer would be an engineer rather then a coder, he would be the person who designs the architecture, gathers specifications and distrabutes them amongst team members
  8. lets just stop there a second, why has it stopped working, where is the error, you can clean out the data from now on and get rid of anything that causes the error. show us error codes you are getting etc try error_reporting(2047); before your code
  9. ok so you connect the hard drive in, this means if you would like to run the site on your laptop server you need to fill in directives on you laptop servers httpd.conf please be more specific if this is not the case and state if you have told apache where to look for files
  10. so its the libraries that make it better ?
  11. I am trying to keep it simple.. go tiger grrrrr i rember when i used to write it out nut i just dont have the time anymore, gud man !
  12. Do you understand the concept of an example? Obviously people are not going to write a full-fledged application each time they want to provide a snippet. im just helping the brother out
  13. would be better to make a login class called Auth(), have methods to do these things, lookup the username and then password for authentication
  14. i made this script once, that when you login you hash a random number you store the random number in the users record and you create a cookie on the users system to store it there too. you then chgeck these two on every page that they match when somone else logs in it will be changed and it wont let two people in at the same time presto when another user logs in the number will be generated again and stored in the users record, will no longer match with the other users system cookie
  15. there are many other ways to do it, but they are non standard and will lead to complications
  16. I agree, Maq does appear to be an Actual Programmer, unlike some others. why is it that when somone says somthing, you just repeat it in the same thread, you done that on a few posts now, knock it off, its not gona get you a job, you even done it on my answers in my last help to somone, it was getting annoying but i let you go, now im confronting you, stop your foolishness, its like having a mirror a.) At what point during this thread had anybody else said the same as what I stated in my post? A few threads such as? b.) I believe the last thread I commented on at the same time as you I simply pointed out you were wrong. I can't help it if you feel the need to post irrelevant/incorrect information. Even after other people have already mentioned better/correct solutions. c.) If getting a job means having to work with somebody like you, I'd rather not have one. d.) If I am infact annoying you, then I'm glad, it's nice to know we're even. e.) This is the last post I will make in this thread as it is already way off topic. The saving grace being that there are multiple threads on this topic by the OP anyway. this conversation ends here, business is business, you snooze you loose
  17. its actualy quite simple this is how you get the resulkts from the file $.ajax({ type: "POST", url: "some.php", data: "name=John&location=Boston", success: function(msg){ alert( "Data Saved: " + msg ); // msg will have all your data in it // you can access it via msg.items[1].name etc depending on what you name it in teh JSON } }); now on your server you create a php file which outputs results the array of your query into json use (PHP 5 >= 5.2.0, PECL json >= 1.2.0) string json_encode ( mixed $value [, int $options = 0 ] ) place your mysql query result -> to array in the function and get the result then just echo the result
  18. create a JSON http://en.wikipedia.org/wiki/Json object on the server, then get it with ajax in jquery, now you can easily say, textbo1.value = thejsonresult.record1.name you can find a class that transforms an array into json and just output it and retrive it with ajax
  19. to the original poster, you can also use this if you have pear set up http://pear.php.net/package/XML_XPath http://pear.php.net/package/HTML_Common/
  20. I agree, Maq does appear to be an Actual Programmer, unlike some others. why is it that when somone says somthing, you just repeat it in the same thread, you done that on a few posts now, knock it off, its not gona get you a job, you even done it on my answers in my last help to somone, it was getting annoying but i let you go, now im confronting you, stop your foolishness, its like having a mirror
  21. hey listen you started it with your insult, i dont come here to be insulted , you can clearly see my physique in the picture
  22. I agree, Maq does appear to be an Actual Programmer, unlike some others. you can plug into him then
  23. You're a manchild. 1) Why would he try that when we already have a proper working solution? 2) I think you meant to say, "the good old inefficient way". 3) Why in the world would you use an array when they made the DOM class and XPath for this specific reason? Come on Nadeem, that's just silly. dont be so narrow minded he could probably find it more interesting, manchild lol Coming from someone of your caliber, lack of skill and grammar, I could care less what you think. freal your an A.P
×
×
  • 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.