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
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"...
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...
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...
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...
@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...
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 ;).
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...
@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 ...
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...
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...
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...
i made a typo but you can disregard it
AboutFooterAboutFooter.value=aboutItemArray[dropObj.value].aboutFooter;
shoudl be AboutFooter.value=aboutItemArray[dropObj.value].aboutFooter;
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()...
i also included my db_table : http://www.mediafire.com/?s3fh2j9gobhbjuz
perhaps some issues are in there but thats even more weird since the php part before i ran into this dropdown i wanted to use, worked fine.http://www.mediafire.com/?s3fh2j9gobhbjuz
hi vacunita! im back with the results. i guess you would be really mad this time telling you it doesnt work. i really dont want to be pulling anyones leggs off / fooling or such things. its really amazing you took time to even build a small mysql table to have it test out. i assume you manage to...
@vacunita wow you are really great to took the time for me with all the questions i had also jer506 , its amazing. hehe sorry for my slow reply but i think i live on the other side of the globe and had to crash last night after my last post. right now i am excited to this puppy working. i will...
hi first of all i really appriciate it jer506 you made a awsome tutorial and took the time to build one. very very cool. i will try and use it , assuming it will work, but for now i am trying to solve my issue with things i made so far, so i dont need to download any js files since its all new...
hmmm i see we are both writing at the same time at this board. when i submitted my last post with the attachment. i saw immediately your post from both of you. i will check them out. thank you guy so much for helping me out this far.. i be back later and give some feedback about the posts and if...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.