Jump to content

harshpandya

Members
  • Posts

    107
  • Joined

  • Last visited

Everything posted by harshpandya

  1. Hi guys, Wt if i have the form which has some fields , now some of the fields are inside one Div,but this div has css display:none, when i submit my form will all my fields go as a part of get or post ?Please reply quickly, Also if answer is "No" then is there a other way to do this, Thanks,
  2. Hi Guys, I am having trouble getting this right , My page is showing fine when i choose option Shrink To Fit in the Print Preview option but if i choose 100% it is out of bound, page info is cut if i choose 100% scale while Shrink to Fit shows fine, I have seen some pages where page looks good does not matter if you choose 100% or Shrink To Fit , My page width is 800px currently ..... i tried in FF and IE8Please Help, Thanks,
  3. Thanks for your answer but now there is another problem var floorplan_id = 0; function showFloorPlan(fp_id){ floorplan_id = fp_id; $("#fp_building_h").hide("slow"); $("#first_FP_h").hide("slow"); $("#" + fp_id).show("slow"); $("#" + fp_id).width(0); $("#" + fp_id).height(0); $("#" + fp_id).animate({ width: "900px", height: "400px", display: "block", opacity: 0.9, marginLeft: "0.6in", fontSize: "3em", borderWidth: "10px" }, 900); } $(document).ready(function() { $("#" + floorplan_id).click(function(){ $(this).slideUp(); $("#fp_building_h").show("slow"); $("#first_FP_h").show("slow"); }); });This code worked but when i put this bold line in there it does not work - I assigned the id value to floorplan_id variable then why it does not recognize it - How to solve this problem, Please help, Thanks,
  4. Hi Guys here is my code its jquery code but its simple so i thought you would help me This code works but instead of passing string i wanted to pass variable function something(fp_id){$("#fp_201").show("slow");}so i tried this but it does not work can you helpfunction something(fp_id){$('"#' + fp_id + '"').show("slow");}please help
  5. Hi I have this huge table, i query and get specific row that i like Now i want to copy that row and insert new row in the same table with some modified dataHow can i do that using PHPThanks,
  6. Hi I have this huge table, i query and get specific row that i like Now i want to copy that row and insert new row in the same table with some modified dataHow can i do that using PHPThanks,
  7. Dude you are still here - thats great man Thanks for your help, I was suspecting that but i wanted to make sure by asking someone
  8. harshpandya

    Sql Distinct

    Hi Guys here is my query select DISTINCT login.guest_id,login.create_time, custom_brochure_register.al_id, custom_brochure_register.fname, custom_brochure_register.lnamefrom login, custom_brochure_registerwhere login.guest_id = custom_brochure_register.id and custom_brochure_register.al_id = 28order BY login.create_time What i really want to do isShow distinct value of the login.guest_id, but i also want to show login.create_time on the output but not distinct value of login.create_timeFor example if i do this it worksselect DISTINCT login.guest_id ,custom_brochure_register.al_id, custom_brochure_register.fname, custom_brochure_register.lnamefrom login, custom_brochure_registerwhere login.guest_id = custom_brochure_register.id and custom_brochure_register.al_id = 28order BY login.create_time note that i removed the login.Create_time but i want to show that create_time in my output as well, how do i do that Please help, Thanks
  9. For example: i have form and add button update button and delete button, When i click add - it should add all the values in the form to the XML file and update should update the nodes and delete should delete whole nodes.....How i do this -- is there any generic functions can anybody provide me Please....Can you please help now....Its urgent....Thanks Guys,
  10. Hi guys,I want to write a XML to Array --- Array to XML generic functions........ in PHPAppreciate it
  11. I am sorry - I use PHP, Can you please help?Appreciate it
  12. Hi guys, I want to write a XML to Array --- Array to XML functions........So basically function should read entire XML and convert into an array. Then i can update the array and pass array to another function array2XML(array) so it will convert array to XML file. Can you guys give me any working examples......Appreciate it, Thanks,
  13. Does this Forum has Action Script here, Flex 2 and FlashThanks,Harsh
  14. harshpandya

    Unload Iframe

    Hi Guys, Is there a another way of unloading the iframe beside doing this document.getElementById("micID").src = "";Thanks,
  15. Thanks Dude, I did audio.startAudio();and it worked....Thanks,
  16. Hi guys, I have this iframe called audio in the main.php and i am loading the audio.php in this audio iframe. code to include audio.php in the audio iframe: document.getElementById("audio").src = ../stream/audio.php";Now in the javascript of main.php, i am calling the function of audio.php called startaudio() and its gives error that object expected.I thought ui alredy loaded he audio.php so now i can call any function from that file... do i have to do something like frame["audio"].startAudio();HOw do i fix this? Thanks,
  17. Thanks for the information - I tried that, works Thanks guys
  18. I am sorry but we are not reloading the page. we are trying to connect stream with it. so we need to include PHP file only when we click on small button. which should call the javascript function which uses that PHP file so we have to include that PHP file but we do not know howThanks,
  19. Hi guy, I want to include PHP file only when the button is clicked otherwise done include. what should i do ?Thanks,
  20. But what if i am calling the javascript function of the something.php file, will it still be fine.
  21. harshpandya

    Include Php

    Hi all, If i call javascript function of the PHP file before including that PHP file. Would it cause any problem. I am not sure if that causes the problem. I thought PHP code runs first and it only runs once. so please let me know, if that would cause problem...Thanks,
  22. Hi guys, Here is my code to connect to the soap client $client = new SoapClient("test.wsdl", $this->soapCfg);$streamCatalog = $client->Query($this->streamQuery);Problem is - i am not able to find Query function anywhere in my code (not even in other include files) - but echo $streamCatalog; returns bunch of values from wsdl file or something....Any idea???? I thought it was just a library function for SoapClient but also can not find anything on google. Please help??Thanks,
  23. Thanks Guys for help ,,J/D your code has syntax problem i fixed it $child2->parent->removeChild($child2); instead of this, i used the bottom one $child2->parentNode->removeChild($child2);Thanks,
  24. Here is my XML doc::<root><device> <name>My name</name></device></root>Here is my code : I want to remove name node from the XML and create new one with different node value$root = $xmlDoc->documentElement;$child2 = $root->getElementsByTagName("name")->item(0);$root->removeChild($child2);why this wont work?Thanks,
  25. Here is my XML doc::<root><device> <name>My name</name></device></root>Here is my code : I want to remove name node from the XML and create new one with different node value$root = $xmlDoc->documentElement;$child2 = $root->getElementsByTagName("name")->item(0);$root->removeChild($child2);why this wont work?Thanks,
×
×
  • Create New...