Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by phpdonkey

  1. phpdonkey

    questions regards to qid=1585634

    yeah it actually worked . i just added this to the Array, works fine now. only the upload i will try to make it work. then it all comes together finally. thank you very much for helping me out this far. for now i will be back to see if i can get this thing to work. heheh
  2. phpdonkey

    questions regards to qid=1585634

    i know how to update the page basically i do the same as i did my other page. the only thing is when updating it it updates the wrong id from the db. <input name="aboutId" type="hidden" id="aboutId" value="<?php echo $row_rsAbout['aboutId']; ?>" /> <input type="hidden"...
  3. phpdonkey

    questions regards to qid=1585634

    ok :( hahah so how can i achieve this.. can you lend me a hand once more please.. not all im just diying to get this webby to work so i use it hehe.
  4. phpdonkey

    questions regards to qid=1585634

    i think you though that i wanted to have a page acces my local harddisk to display this picture on the page in runtime or something. but thats not what i want coz i know about those risks. still thanks for the notice about that. I only thought if there is a way i can grab the...
  5. phpdonkey

    questions regards to qid=1585634

    hmm, im not sur eif you understood what i ment. i have drew a picture about what im trying to achieve. i actually dont want the users path but i want to get the picture name + extention ( example about_1.png ) and have the name put back into the jsArr so i process it back the the server as...
  6. phpdonkey

    questions regards to qid=1585634

    ok i see, what i want to have is now the form displays all the data from the database fields into the inputs and also displaying the graphic. i have an upload input and a browse button. <input name="aboutUpload" type="text" class="aboutUpload" id="aboutUpload" value="" /> <input...
  7. phpdonkey

    questions regards to qid=1585634

    @vacunita .. it works great i have now my edit form setup for loading my dynamic data. now is my question ... can i use php or should i use js for having an image selected trough browse and then subit it with all the other input data , then send it back to mysql with just this one page ? im...
  8. phpdonkey

    questions regards to qid=1585634

    hi! sorry for my late reply ive been busy a few days, but the code was exactely what i was been looking for to make an if statement for my radios and a var for my graphic. im sure the code works flawlessly , thank you so much! i will try it out later and get back later to keep you feedback ;).
  9. phpdonkey

    questions regards to qid=1585634

    hi, i've done some searching here and there but i dont know how to populate my radio buttons the way i should do it now with the JS involved. i know how i can do this with php : <p class="rb1"><label><input type="radio" id="visiblePage" name="visiblePage" value="1"<?php if...
  10. phpdonkey

    questions regards to qid=1585634

    @vacunita .. hi i really want to thank you for all your effords you took for me. its realy cool. i went out and looking some more deeper into the code and now i am able to populate my inputs. just not yet the radio buttons and the graphic. so i am more then halfway on the right path . phew ...
  11. phpdonkey

    questions regards to qid=1585634

    ok now since i wrote a few threads after another and it might be confusing. i will wrap it up so its easier to see what i have done now and what should be corrected.. mysql_select_db($database_db_config, $db_config); $query_rsAbout = "SELECT aboutId, aboutTitle, aboutStory, aboutFooter...
  12. phpdonkey

    questions regards to qid=1585634

    hmm i seem to have found the problem, it lies with the data.. as soon as i have ENTERs in my database longtext field i get this error. "unterminated literal string" this means i cannot use enters in my page content. that should not be. how can i fix it so i can use the enterkey when writing my...
  13. phpdonkey

    questions regards to qid=1585634

    firefox (FF i call it) source code: the problem is an unterminated literal string at line 17 and that the part i color in red what FF highlite's. the code looks like its ended with '; but i see and know there are line breaks in my content and also commas in the database longtext text field...
  14. phpdonkey

    questions regards to qid=1585634

    i made a typo but you can disregard it AboutFooterAboutFooter.value=aboutItemArray[dropObj.value].aboutFooter; shoudl be AboutFooter.value=aboutItemArray[dropObj.value].aboutFooter;
  15. phpdonkey

    questions regards to qid=1585634

    your correct. but still some of the fields should be populated i tihnk. i already changed them heheh , still its not working though. is JS also case sensitive and has the array also the be the same order like in php Variables? $jsArr.="aboutItemArray[$row_rsAbout[aboutId]]= new Array()...

Part and Inventory Search

Back
Top