39,316 Topics

Member Avatar for
Member Avatar for janicemurby

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 …

Member Avatar for janicemurby
0
162
Member Avatar for SimonIoa

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 …

Member Avatar for SimonIoa
0
594
Member Avatar for anmol.raghuvanshi1

[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 …

0
73
Member Avatar for riwakawd

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() …

Member Avatar for lps
0
209
Member Avatar for AntonyRayan

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?

Member Avatar for lps
0
148
Member Avatar for malatamil

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.

Member Avatar for mangel.murti
0
209
Member Avatar for Sws_1

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."' />";

Member Avatar for ryantroop
0
56
Member Avatar for Osagie_1

<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 …

Member Avatar for diafol
0
126
Member Avatar for vizz

I want to read pdf file and store only contents of pdf file as it is into mysql database. Can anybody help ? please ...... Thanks.

Member Avatar for diafol
0
2K
Member Avatar for klemme

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 …

Member Avatar for klemme
0
1K
Member Avatar for prash21m

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) …

Member Avatar for EvolutionFallen
0
137
Member Avatar for harishprakash
Member Avatar for janicemurby

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 …

Member Avatar for Traevel
0
247
Member Avatar for PierJean

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 …

Member Avatar for PierJean
0
455
Member Avatar for imti321

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. …

Member Avatar for imti321
0
167
Member Avatar for divyakrishnan

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 …

Member Avatar for network18
0
2K
Member Avatar for harishprakash
Member Avatar for Dani

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 …

Member Avatar for gabrielcastillo
2
440
Member Avatar for AntonyRayan

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?

Member Avatar for AntonyRayan
0
370
Member Avatar for afaaro

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"); }

0
88
Member Avatar for davy_yg

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?

Member Avatar for iamthwee
0
194
Member Avatar for thernandez

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 …

Member Avatar for Taywin
0
1K
Member Avatar for Priti_P

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.

Member Avatar for Taywin
0
141
Member Avatar for Osagie_1

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: …

Member Avatar for pritaeas
0
215
Member Avatar for John Abdul

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. …

0
52
Member Avatar for iveto89

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 …

Member Avatar for iveto89
0
266
Member Avatar for FarrisFahad

I am trying to paginate through a set of results. I know how to do a simple pagination, but I have a lot of records in the database. So the problem is that when I have a lot of pages, the number of links are also high, therefore breaking the …

Member Avatar for broj1
0
377
Member Avatar for AntonyRayan

I want to add photos to the user after they logged in , in their user profile . Will it possible? how?

Member Avatar for broj1
0
98
Member Avatar for Osagie_1

i'am testing an xml structure: <Articles> ... <Article ID="333"> <author>Paul</author> <title>i hate xpath </title> <child1>bla</child1> <child2>blabla <subchild> <subsubchild DEEP = "Attribute"></subsubchild> //this is my nightmare </subchild> </child2> <child3>testing</child3> </Article> ... </Articles> what xpath expression will fetch and update the subsubchild attrib value ? i am mostly concerned with fetching and …

Member Avatar for Osagie_1
0
128
Member Avatar for davy_yg

dashboard2.php if (isset($_POST['ok'])){ if (empty($_GET['class_id'])) { $class = $_SESSION['class']; $sqlstr = "INSERT INTO material2(`subject`, `title`, `content`) VALUES('".$class."', '".$title."','".$content."')"; echo $sqlstr; } else { $class = $_SESSION['class']; //echo $class; $sqlstr = "UPDATE material2 SET subject='".$class."', title='".$title."', content='".$content."' WHERE class_id=".$_GET['class_id']; echo $sqlstr; } $result = mysql_query($sqlstr) or die(mysql_error()); //Jika mode edit, maka …

Member Avatar for pritaeas
0
170

The End.