841 Posted Topics

Member Avatar for Shanti C

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 …

Member Avatar for vimukthirandika
0
900
Member Avatar for ErangaD

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.

Member Avatar for ErangaD
0
152
Member Avatar for neclark2

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 …

Member Avatar for cereal
0
756
Member Avatar for anita_86

you have to give unique id for dynamically added input fields.Based on that ids you should have to calculate total.

Member Avatar for anita_86
0
145
Member Avatar for vanpersie

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]

Member Avatar for peter_budo
0
263
Member Avatar for gingerfish

we can set another webpage into our webpage by frames etc... can you please eloborate your query more ???

Member Avatar for Shanti C
0
93
Member Avatar for Nollyvenon

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

Member Avatar for utpal23
0
4K
Member Avatar for rnalh5gh

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

Member Avatar for Shanti C
0
94
Member Avatar for mehrantahir

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

Member Avatar for urtrivedi
0
91
Member Avatar for wfray

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]

Member Avatar for Shanti C
0
87
Member Avatar for lloydsbackyard
Member Avatar for lloydsbackyard
0
950
Member Avatar for 080346

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.

Member Avatar for Arkinder
0
141
Member Avatar for Stefano Mtangoo

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

Member Avatar for Stefano Mtangoo
0
122
Member Avatar for vaanipala

Try like this : [QUOTE]echo "<b>".$cd->item($i)->nodeName.":</b>";[/QUOTE] or [QUOTE] $val=$cd->item($i)->nodeName; echo "<b>".$val.":</b>";[/QUOTE]

Member Avatar for karthik_ppts
0
234
Member Avatar for MooGeek
Member Avatar for lastgame2007

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 …

Member Avatar for faroukmuhammad
0
140
Member Avatar for naru vaishnaw

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.

Member Avatar for Shanti C
0
118
Member Avatar for jacob21
Member Avatar for Shanti C
0
206
Member Avatar for Espenij
Member Avatar for jollyjain

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]

Member Avatar for divyakrishnan
0
103
Member Avatar for feedz87

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 …

Member Avatar for mgt
0
2K
Member Avatar for jrotunda85

You can refer here: [url]http://www.bradino.com/mysql/calculate-age-using-date-field/[/url]

Member Avatar for karthik_ppts
0
152
Member Avatar for ashiiiish
Member Avatar for Supergrass

you must have to close the printf function in line no 512. like : [CODE]<?php printf( 'your content' );[/CODE]

Member Avatar for Supergrass
0
2K
Member Avatar for RazorRamon

@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]

Member Avatar for karthik_ppts
0
195
Member Avatar for Dorar

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 …

Member Avatar for twiss
0
2K
Member Avatar for srdva59
Member Avatar for naru vaishnaw

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.

Member Avatar for divyakrishnan
0
108
Member Avatar for Besherek

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]

Member Avatar for Stefano Mtangoo
0
301
Member Avatar for gonidelux

The End.