39,320 Topics
| |
Hi, Though I have a table name , it shows error like, the table name does not exist. What will be the problem? | |
I have a custom php function for my multiple upload function. I cannot figure out how to make it so when I insert the file name to the database that it matches the row id, of that insert. How can I make it so. When I create a new banner … | |
Hi Everyone, I am trying to generate an error message in php. I have two drop down boxes on a website I am helping with, One for product, One for Size. Product is either shoes or hand bags. Size is a drop down that has different shoe and handbag sizes, … | |
hya i have purchased a script package for my site and im having problems with the photos upload page i can upload a photo but when i go to save it im told to make a selection i cant make the selection as there is nothing to select and ive … | |
Hi i have created a events script for my members to post there planned event all is working there but i want it where all members will see the events that other members have submitted in a list style like My list of events : Type: Meet at your place … | |
Hello i have a problem with my website. It is running slow. I asked the my server provider why is that, and they replied its because the webiste uses many embedded urls like youtube, vimeo, dailymotion and so on. And so i have to cache these embedded urls. I tried … | |
| [Click Here](http://www.drmanoj.com/articlesdisplay.php) this is type of website i have to work upon there should be list of diseases and clicking upon differnt diseases treatment can be done i have doubt for different disases differnt question are asked with check boxes i want to know how can be this achieved should … |
I use codeigniter 2+ for my frame work I am having issue with my multple file upload that are in array. I is not picking up the number with in the array. Example: name="banner_image[auto_generated_number]['image']" how to make a foreach work with the banner_image[auto_generated_number]['image'] Currently my code is public function do_upload() … | |
while updating an user profile , if I update a new image ,it updates the new image and displays it. If I update other fields without updating image field , it updates others, but it does not showing the image. How to display it? | |
i have two tables. in 2nd table i assigned the 1st table primary key as foreign key. i have two options edit and delete. i can't delete foreign key value and also primary key value in 2nd table. | |
what is the error in my two queries ?? $sql="select secretQ,secretA from users where email = '".$email."' "; $out .= "<PassResetQ secretQ='".$row->secretQ."' secretA='".$row->secretA."' />"; | |
<Root> ... <A CHANGE_THIS="Dont_ChengeME"> <B></B> </A> ... </Root> trying to change the attribute name of element A to something of my choice, using php's simpleXML API. here's what i've done: $xml = simplexml_import_dom($xmldom); $query = "root/A[@]"; $result = $xml->xpath($query); if(!empty($result)) $result['CHANGE_THIS'] = "Blalalalal"; //i believe this is where am doing … | |
I want to read pdf file and store only contents of pdf file as it is into mysql database. Can anybody help ? please ...... Thanks. | |
Hi all, Im starting to use composer, and have installed a few packages - This thread is about illuminate/database component. Im clearly misunderstanding something about how i can use the autoloader. I have the following directory structure: -app -assets -vendor index.php [Request goes to index.php] - This file includes composers … | |
Hi than, Just wanted your help. I have been stuck on a place. I just want to create a script that can echo "next" and "previous" or both based on total number of content. I have parameter in url like : mysite.com/index.php?start=8 (page 1) mysite.com/index.php?start=16 (page 2) mysite.com/index.php?start=24 (page 3) … | |
Hi i have 2 errors on some software i brought for inbox can anyone tell me whats wrong with the code below to cause the errors any help would be much appreicated ty jan Warning: implode() [function.implode]: Invalid arguments passed in /home/letsswin/public_html/inbox.php on line 198 Warning: mysql_fetch_array() expects parameter 1 … | |
hello! Being a newbie (70 years young) I an trying to complete this php code so my search-form with a multichoice-checkbox may return a selected response on a webpage from mysql 5.4 database. So far I have this query that is working BUT returning ALL members from the DTB regardless … | |
If i delete recored 1 next when i want to view the table i shall see recored 1 deleted and in that place recored 2 shall be named as recored one.By record i mean id <?php //var_dump($_POST); i used it to check if $_POST array contains the values or not. … | |
I am using uploadify to upload images in php. After uploading the files, showing the progress bar as completed but the uploads folder is showing as empty. I have downloaded the script and just added a new folder to upload files as uploads folder. Here is my code index.php <!DOCTYPE … | |
I just thought I'd share this because it took me a bit of time to figure out tonight. When members post content with MS Word quotes, etc., and they look funky on our UTF-8 websites, it's because those characters need to be converted to UTF-8. This bit of code worked … | |
Hi godd morning to everyone. I have , 1.index.php 2.signup.php 3.check.php 4.logout.php 5.welcome.php 6.dashboard.php 7.connect.php Suppose, any user opens other pages except index.php(its default page), I need to show error reporting page and it should redirect to index.php. how ? is it possible? | |
Hi guys I need help with redirecting from post?id=11111 to index.php?page=post&title=title&id=11111 Solved and got solution from this link https://www.daniweb.com/web-development/php/threads/489469/how-to-redirect-dynamic-url-using-php $curPageURL="http://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']; $url="http://abc.com/gallery.php?id=1"; if($curPageURL == $url) { header("Location: http://abc.com/error404"); } | |
Hello, I am looking for a visitor counter that could record: Visitor Counter Online 1 Today 4 Yesterday 8 Week 4 Month 32 Year 32 Total 2637 Where can I find it? | |
Hi good day; Im working with Ignited Datatables and Im trying to add a callback on edit_column but it's no working it's not making the call just print the 3 parameter : $this->datatables->edit_column('value','$1','callback_esNulo(value,id)'); and this the function callback function esNulo($value,$id){ $result= is_null($value) ? "0" : "1"; echo $result; } I … | |
Hello, I want expression for not acception string with specials characters. So I was with expression /^[ A-Za-z0-9_@.#&,()-]*$/ But it is accepting only special chars also. How can I restrict it for not acceptiong only special chars? like my string should contain atleast one character. | |
i have an xml structure: <root> ... <B ID="444"> <C></C> <D>Anything</D> <E> <child1 /*expected outcome came in here*/> /*sometimes here*/ </child1> <child2>data2 <!-instead of here-></child2> <child3>data3</child3> <child4>data4 /* and also here instead*/</child4> </E> </B> ... </root> i made an xpath query to fetch //*B, where child2==data2 and child4==data4 like this: … | |
I want to write a code that is able to go to a specific domain name(website). It would then log-in with the details i provide. It should then be able to post the details i provide at specific times or periodically. It should be able to post url and pictures. … | |
Hi everybody! I'm trying to create 2 image buttons (like,dislike). When they are submitted, it should be run a query for like/dislike a definite song. My code is: <?php $table = mysqli_query($mysqli,"SELECT song_id, song_name, janr_name, singers.names FROM `songs` INNER JOIN `singers` ON songs.singer_id = singers.singer_id INNER JOIN `janr_songs` WHERE janr_songs.janr_id … |
The End.