No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
12 Posted Topics
i have this piece of code i would like to validate using javascript. I have the validation code already , all i would like to know is how do you send a changeable variable to javascript i.e [CODE] while($row1 = mysql_fetch_array($result)){ $sel = ($row1['productid'] == $row['productid']) ? "selected=\"selected\"" : ""; …
[url]http://www.scriptiny.com/2008/04/dynamic-inline-javascript-form-validation[/url] Look here, im sure you will find this more suited. its what im using now. u can validate email addresses and im sure you will find this more easier and pleasant on the eye ;)
if i have [CODE] <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>[/CODE] [CODE] <script src="http://ajax.googleapis.com/ajax/libs/prototype/1.6.0.3/prototype.js" type="text/javascript"></script>[/CODE] both of these in my header my jquery menu does not work. i have searched google and it keeps telling me about this [CODE] <script> jQuery.noConflict(); // Use jQuery via jQuery(...) jQuery(document).ready(function(){ jQuery("div").hide(); }); // Use Prototype with $(...), …
Does anybody know if it is possbile to connect to an external database using plesk panel 9.5.2 linux vps or must it be a windows based vps. Or does another vps linux type panel allow connection to external databases. [url]ftp://download1.sw-soft.com/Plesk/PPP9/Doc/en-US/plesk-9.5-administrators-guide.pdf[/url] all i can find is that you can only do …
The code below displays a signature on the screen previously signed on the form before. It has now displayed the image as a png. How do i go about saving the image into a mysql database field so i can recover the picture as and when i need to / …
I have an online orders database which prints fpdfs for delivery notes and off hire notes. I have looked into digital signitures on fpdf but have not found anything useful. Would it be possible to use a very simple paint program on the web inserted in your orders page where …
i use this if this helps [CODE]<script type="text/javascript"> function dm(amount) { string = "" + amount; dec = string.length - string.indexOf('.'); if (string.indexOf('.') == -1) return string + '.00'; if (dec == 1) return string + '00'; if (dec == 2) return string + '0'; if (dec > 3) return …
its possible and very easy. but have you got the tables set up in your db if so just this needs to be added to the preview page, with connection to ur db. [CODE] $to= $_POST["to"]; $from = $_POST["from"]; //etc $result1=mysql_query("INSERT INTO tablename (tablerow1, tablerow2, tablerow3, ) VALUES ('$to', '$from', …
Im no good at javascript but i have a form with a field which u type in and it suggests customers from the sql db which matches the characters typed. The problem is i may have a customer with this 'good & small' which in my db looks like this …
Im struggling with updating the sql database for all fields . For example i have 2 select boxes in my order and if i wanted to amend both of them i change there details and press submit. The problem is i dont know how to loop it to go to …
I have used this piece of code which is working great. It allows me to add different items from combo boxes to my order form. The problem is that i dont know how to extract the data from my db to display in a form view when i want to …
this is what i have so far [CODE]<?php require "backend/functions.php"; dbconn(); $errmsg = ""; // get the .pdf #################### this is me getting my pdf############### $gotten = @mysql_query("select * from pdf order by pid desc limit 1"); $row = @mysql_fetch_assoc($gotten); $fileatt = $row[imgdata]; ################################################################ #but with this lines 27 28 …
The End.
kardklub