No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
17 Posted Topics
Hi, i have successfully stored a link to docx and pdf files into mysql db. I'm trying to retrieve it from db and display it similar to pictures. Now when the user click on it, it should open the file and display it. If any one have a code sinppet … ![]() | |
I have this code $request = mysql_query("SELECT note_title,image_file FROM notez"); while($row=mysql_fetch_array($request)) { echo $row['image_file'].'<br />'; echo $row['note_title'].'<br />'; } and the path to the folder where i stored the files is userimages_doc when i click on note_title , i want to download the file | |
Hi all, i have a table in db which contain some pdf and docx files. Am trying to display it in a way, so that when the user click on it, it will load the pdf and/or docx file from db in another/same window. this is what i have done … | |
Is the error i get trying to connect to my db. Warning: mysqli_connect() [function.mysqli-connect]: (HY000/2005): Unknown MySQL server host 'http://www.fleethabari.com/' (1) in /home/www/fleethabari.com/inc/config.php on line 2 Unable to select database: Unknown MySQL server host 'http://www.fleethabari.com/' (1) Warning: mysqli_close() expects parameter 1 to be mysqli, boolean given in /home/www/fleethabari.com/inc/config.php on line … | |
Am building a vehicle fleet management system, srevice cost is added each time a vehicle is serviced. Now, lets say vehicle A have been service 8 time, B 5 times, C 10 times ... I want to show the SUM(cost) for servicing each vehicle at the same time. I wrote … | |
Re: I think you should listen to mmcdonald , some things like these are best solve with jquery and things like that... | |
Hi all, am trying to use bootstrap switch in my form. Am at a lost as to how to get the value of name="onoffswitch" from that field and insert it into mysql db, here is my code... div class="onoffswitch"> <input type="checkbox" name="onoffswitch" class="onoffswitch-checkbox" id="myonoffswitch" checked> <label class="onoffswitch-label" for="myonoffswitch"> <div class="onoffswitch-inner"></div> … | |
am using jquery.min.js to insert a form data into myqsl db.I just added a captcha script i got online,but i keep geting an [ Notice: Undefined index: secretNumber in D:\xampp\htdocs\mim\insert.php on line 25 ].I tryed all i know ,nwwd your help. javascript code: <script type="text/javascript"> > > $(document).ready(function(){ > //Get … ![]() | |
I have a drop downmenu on a page, after users add a content to the db, i do not want the specific value that was added from the dorpdown menu to show in the list again. I do not want to delete that specific value from the dropdown table. Your … | |
when i insert text into mysql db and view the page in a appear ,its all put together as one big text block.No spacing, no paragraph ,nothing. i use `openwysiwyg_v1.4.7` in the textarea in my form as my text editor. I want to know if there is a way to … ![]() | |
this my script.When i do this,it works fine ` $query = "select * FROM aboutusx order by title desc"; ` but when i do this `$query = "select * FROM aboutusx WHERE myaccountid='$myid' order by title desc";` then i get this `Notice: Undefined variable: start in D:\xampp\htdocs\kwa\admin\userindex\inc\ps_pagination.php on line 176` … | |
Hi to All. 1. I want a php script that can restrict a user from adding additional image to his account on my site, I the admin should be able to set the restricting for the user. I also want to be able to activate/deactivate this function in the admin … | |
i have finished installing iis,mysql,php, but my website is still not working. do i have to install anything apart from what i have install,pls. help.:'( | |
i need a random generator. it should be able to generate serial #s along side. any website in mind? please help.:yawn: | |
i need a random generator that can generate serial #s along side. any website in mind? please help.:yawn: | |
Grate Thanks, i have been designing website in html for some time now. i want to make my sites more powerful by using php or asp,but i can link up the pages for them to work like i do in html. i really need help,pls help. | |
Am Daniel and a web designer.I thought programing in php was as simple as HTML,well i have found things out for myself now. i need help.i have read some php materials,but i still can't do much.i still can't even link all the .php pages together, like i can do in … |
The End.