841 Posted Topics
Hello, i have used ireport tool for creating jrxml template for creating chart(XYLine chart). and i used this jrxml file in java code to create chart. Here i passed csv file as data source. Now i can freely change color,title,subtitle,font ect from java code . what i want is how … | |
Re: hi, first, please try with some code then post your code here for help. Anyway try with example script: [CODE] function test() { var x=document.getElementById("A"); document.getElementById("A")=x-document.getElementById("B"); } [/CODE] Use this test() on'onchange' for A text box. Please post your required peice of code.. All the best. | |
Re: once refer these links: [url]http://www.rafaeldohms.com.br/2008/02/12/adding-text-to-images-in-real-time-with-php/en/[/url] [url]http://www.developertutorials.com/tutorials/php/adding-custom-text-to-image-050620/page1.html[/url] or try this: [code=php] <?php $image = ImageCreateFromPNG("base.png"); $color = imagecolorallocate($image, 0xFF, 0xFF, 0xFF); $colorShadow = imagecolorallocate($image, 0x66, 0x66, 0x66); $font = 'arial.ttf'; $fontSize = "10"; $fontRotation = "0"; $str = "Example of GD in PHP. Date: " . date("m-j-Y g:i:s (a)"); /* Shadow … | |
Re: you have to give unique id for dynamically added input fields.Based on that ids you should have to calculate total. | |
Re: did you stop your server in your eclipse/any other IDE ? try to restart your server. may be your server does not installed properly..check for this.. [url]http://tomcat.apache.org/tomcat-7.0-doc/appdev/index.html[/url] | |
Re: we can set another webpage into our webpage by frames etc... can you please eloborate your query more ??? | |
Re: Please use code tags for showing your code, so others can easily go through it. Please point for a peice of required code. You have already coded it, then please come with your current output that your code has given.. | |
Re: you can write using methods in jsp : [CODE] <%!public String generateCalc(String param) { if(param.equals("A")) { // code for generating HTML A calculator } else if(param.equals("B")) { // code for generating HTML B calculator } } %> [/CODE] If this is not your requirement, please be a bit more clear.. … | |
Re: It is my suggestion that , for these type of caluculations ,better use time in particular format(minutes) while saving in mysql.like : 12.00 am - 0 1.00 am - 60 2.00 am - 120 . . . . 12.00 pm - 720 13.00 pm - 780 . . . . … | |
Re: check this link, im not sure this is userful for you or not.. just for info. [url]http://books.google.co.in/books?id=Q9OP0ClTTvIC&pg=PA236&lpg=PA236&dq=if+(session_id()+%3D%3D+%22%22)+in+php+5&source=bl&ots=1E0yhfQHaO&sig=9qVWE4AtPs6W5Ed5OyYVKeYXP5o&hl=en&ei=pgApTqXMDcurrAeJp7nHBg&sa=X&oi=book_result&ct=result&resnum=7&ved=0CEYQ6AEwBg#v=onepage&q&f=false[/url] | |
Re: Try [URL="http://php.net/manual/en/function.addslashes.php"]addslashes[/URL] method. | |
Re: Are you sure that you are with in these [URL="http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_support"]limits[/URL]. or try to print the error. | |
Re: -> encryption & descryption -> set very restrictive permissions for MySQL users -> restricting user input characters (username / login id) -> escaping characters and also refer the link : [url]http://www.learnphponline.com/security/sql-injection-prevention-mysql-php[/url] | |
Re: Try like this : [QUOTE]echo "<b>".$cd->item($i)->nodeName.":</b>";[/QUOTE] or [QUOTE] $val=$cd->item($i)->nodeName; echo "<b>".$val.":</b>";[/QUOTE] | |
Re: i will not touch computer/phone. | |
Re: check for the $id value , whether it is there(db table) or not. And also remove single quotes for index here : [QUOTE]WHERE 'index'='$id'[/QUOTE] if still eror: print your query like : [CODE] echo $qry="UPDATE tblinfo SET idno='$idno', name='$name', address='$address', birthdate='$birthdate', contact='$contact', email='$email' WHERE 'index'='$id'"; $result=mysql_query($qry); [/CODE] Try to excute … | |
Re: can i ask one question : you want to display the to_user avatar or from_user avatar here ???? pass the appropriate username in your query while printing avatar. | |
| |
| |
Re: you can validate spaces also like this : [CODE] var invalid = " "; // Invalid character is a space // check for spaces if (document.myForm.password.value.indexOf(invalid) > -1) { alert("Sorry, spaces are not allowed."); return false; [/CODE] and also check this link : [url]http://www.dreamincode.net/code/snippet68.htm[/url] | |
Re: You can implement this by PHP sessions or cookies. Learn PHP Sessions here : [url]http://www.tizag.com/phpT/phpsessions.php[/url] Then you can go for implementations. refer : [url]http://marakana.com/blog/examples/php-implementing-secure-login-with-php-javascript-and-sessions-without-ssl.html[/url] If you are using only sessions, you can differ your pages by setting one session like flag 1 for admin and 0 for users. If you … | |
Re: You can refer here: [url]http://www.bradino.com/mysql/calculate-age-using-date-field/[/url] | |
Re: you must have to close the printf function in line no 512. like : [CODE]<?php printf( 'your content' );[/CODE] | |
Re: @karthik , yes. and also you can write like this simply.. [CODE]SELECT username, timestamp, topic FROM hotspots GROUP BY topic ORDER BY id DESC[/CODE] | |
Re: HTML - is not a programming language, it is a markup language. you should have a basic understanding of HTMl before you learn CSS. CSS - CSS stands for Cascading Style Sheets, Styles define how to display HTML elements. you should have a basic understanding of HTMl before you learn … | |
| |
Re: After your update query redirect your page to main page. So you have to include this line after your query line (line no : 23): [CODE]header("Location: main.php");[/CODE] If this in not your requirement, Please be more specific. | |
Re: for quick info : [url]http://www.daniweb.com/web-development/php/threads/133560[/url] [url]http://www.daniweb.com/web-development/php/threads/178763[/url] | |
Re: you have missed semicolon in line 31. |
The End.