Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~1K People Reached
Favorite Forums
Favorite Tags
Member Avatar for garyjuano

hello guys..can someone help me to create a function that generates random numbers composing of 9 digits with the ff limitations.. * must not have consecutive numbers in any place...sample 158461247....1 and 2 is consecutive numbers... * must not have same numbers before and after....sample 155483628....5 and 5 is same …

Member Avatar for AARTI SHRIVAS
0
305
Member Avatar for garyjuano

guys this is my text box a. <input type="text" id="val" value="1,23|20,70|40,100|64,120" > my question is how can i output something like this.? var chart = [[1,23 ],[20,70],[40,100],[64,120]]; any idea? your help would be greatly appreciated thanx in advance.

Member Avatar for minitauros
0
144
Member Avatar for garyjuano

is it possible to preview the image in popup window. below is my basic code but i really dont know how to call the selected picture to view in the popup window. function newPopup(url) { var img = document.getElementById('photoimg').value; urla = url+'?img='+img; popupWindow = window.open( urla,'popUpWindow','height=700,width=680, left=300,top=10,resizable=yes,scrollbars=yes,toolbar= ,menubar=no,location=no,directories=no,status=yes'); } <form …

Member Avatar for AleMonteiro
0
215
Member Avatar for garyjuano

anyone know whats the problem/reason with this codes? 1. calculation with fix time <?php date_default_timezone_set('UTC'); $deff = strtotime("20:00:00")-strtotime("19:00:00"); echo date('h:i', $deff ); OUTPUT = 01:00 //above was correct ?> 2.output should be in munite, but the output is 12:50 what's wrong with this code? date_default_timezone_set('UTC'); $deff = strtotime("20:00:00")-strtotime("19:10:00"); echo date('h:i', …

Member Avatar for edwinhermann
0
137
Member Avatar for garyjuano

i had a database with 4 column and each column has a value, below are the sample. ---------------------- col1-col2-col3-col4 -- 1------4-----7--------- 5------3----------10--- 6------------5----12--- my question is how can i get the lowest value in each row? here's an output that i wanted to get: 1 3 5 and here's my …

Member Avatar for pritaeas
0
129
Member Avatar for garyjuano

sorry i'm newbie in date/time in php, i would like to ask if this is correct script or not,if not can u help me improving this script. <?php $date1 = date('m-d-Y H:i:s a'); $date2 = "09-17-2011 11:51:21 am"; if($date1>=$date2){ echo "bad"; }else{ echo "good"; } but when i change the …

Member Avatar for twiss
0
73
Member Avatar for garyjuano

how to calculate the exceeds time. $due_date=strtotime("July 5,2011,8:00 am"); $today=strtotime("July 5,2011,9:00 am"); example i borrow a book so the due date is = ($due_date), then i return the book at ($today) how can i caculate the munites exceed from $due_date to $today...the munites exceed is 60 munites. how can i …

Member Avatar for karthik_ppts
0
60