39,326 Topics

Member Avatar for
Member Avatar for AntonyRayan

Index.php <html> <head><title>Registration</title> <script type="text/javascript"> function numbersonly(e,length){ var unicode=e.charCode? e.charCode : e.keyCode var maxlength=length; if (unicode!=8){ //if the key isn't the backspace key (which we should allow) if (unicode<48||unicode>57) //if not a number return false //disable key press } } </script> <script type="text/javascript"> function validation() { var a = document.form.phone.value; …

Member Avatar for AntonyRayan
0
232
Member Avatar for Shannon_1

ALTERNATIVE CODE <?php // Update present values if (isset($_POST['submit'])) { // Get a list of student ids to check $idsResult = mysql_query("SELECT student_id from students"); $presentIds = array(); $absentIds = array(); while($idRow = mysql_fetch_array($idsResult)) { // If the student's checkbox is checked, add it to the presentIds array. if(isset($_POST['present'.$idRow['student_id']])) { …

Member Avatar for lps
-2
214
Member Avatar for adsegzy

I got a script that convert convert my php string (combination of customized image & text) to image, zip it & popup for download with the scripts $format=$_REQUEST['format']; $viewArr = $_SESSION['productArr']; //the images in array $outputarr = $_SESSION['outputArr']; $pngoutarr = $_SESSION['pngOutputArr']; $downloadable = 1; if($format=='png'){ require_once 'png_output.php'; $downPath = genpng($pngoutarr,$downloadable); …

Member Avatar for adsegzy
0
470
Member Avatar for rajeesh_rsn

Hi friends, In one of my project I want to convert tiff files to png/jpg using php for making a film strip. So if there is any way for doing that .... Please help me thanks in advance Rajeesh

Member Avatar for monika1992
0
6K
Member Avatar for zebnoon1

Dear friends, I developin a webside in php where clients can send their enquiry of material.I have text boxs which clients will fill when click add button this enquiry will goto down table on a same page.. Please give me idea.??

Member Avatar for zebnoon1
0
363
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
424
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
601
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
210
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
138
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
249
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
468

The End.