39,323 Topics

Member Avatar for
Member Avatar for davy_yg

Hello, I am trying to create a delete button when you press the delete button it takes to a list of codes to delete the row. input_image.php <?php $i=0; while ($data = mysql_fetch_array($result)){ $result2=($i%2)?'#DFA09D':'white'; //echo "<tr bgcolor='$result2'>"; //echo '<td>'.$data['page'].'</td>'; //echo "<td><a href='post.php?post_id=".$data['post_ID']."'><img src='../images/post.jpg'></a></td>"; //echo '</tr>'; echo "<tr bgcolor='$result2'>"; echo '<td><a …

Member Avatar for davy_yg
-1
163
Member Avatar for Vito_1
Member Avatar for mangel.murti

For one order XYZ can be a buyer and for different order XYZ will be a seller. how to assign buyer and seller responsibilities to users per order basis. give me some example of table structure. thanks in advance

Member Avatar for mangel.murti
0
138
Member Avatar for harishprakash

Hi, Though I have a table name , it shows error like, the table name does not exist. What will be the problem?

Member Avatar for diafol
0
60
Member Avatar for riwakawd

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 …

Member Avatar for riwakawd
0
213
Member Avatar for lloyd.farrell.7

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

Member Avatar for hericles
0
423
Member Avatar for janicemurby

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 …

Member Avatar for Taywin
0
234
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
597
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
149
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
248
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
462
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
195
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
142

The End.