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
Ranked #3K
~1K People Reached
Favorite Forums

5 Posted Topics

Member Avatar for lobstar

I gues you have to start indexing [B]$j[/B] from [B]0[/B] as the first column is 0, second 1, third 2, etc. or:[CODE] # if($j==1){ # $sku=trim($data->sheets[0]['cells'][$i][$j-1]); # } # if ($j==2){ # $desc=addslashes(trim($data->sheets[0]['cells'][$i][$j-1])); # } # if ($j==3){ # $list=addslashes(trim($data->sheets[0]['cells'][$i][$j-1])); # } # if ($j==4){ # $specs=addslashes(trim($data->sheets[0]['cells'][$i][$j-1])); # } [/CODE]

Member Avatar for rrpandiarajan
0
297
Member Avatar for alex.tepes

Hi, I need to host a Website I can develop but I want first some hosting solution opinions other from what I can get from my hosting provider company :) The site will be built using php+mysql basically - i need [B]*nix[/B] system. It's about a big corporate website that …

Member Avatar for jamesl22
0
196
Member Avatar for mrcniceguy

[B]2010-03-03 00:01:51[/B] is in mysql timestamp format PHP timestamp format is a number representing the number of seconds passed since 1970-01-01 00:00:00 you can't substract a mysql timestamp from a php one. It's like adding [B]2 pears + 4 apples = 6 WHAT? peapples :)[/B] [CODE]function transform_ts($mysql_ts) { $hour = …

Member Avatar for mrcniceguy
0
134
Member Avatar for iAmLast

Try to assign [B]ID[/B]'s to each element like: [CODE]<input name="username" id="username_id" />[/CODE] After try: [CODE] <script language="javascript"> function CheckThis() { username_element=document.getElementById("username_id"); error_element=document.getElementById("error_div_id"); str = username_element.value if(str.length < 6 ) error_element.style.display = "block" else error_element.style.display = "none" } </script> [/CODE]

Member Avatar for alex.tepes
0
121
Member Avatar for nl18663

I am in hurry with some things but I had the same problem and here's my solution: [B]JS:[/B] !!! I use [B]jQuery[/B] in place of [B]$[/B] [CODE] jQuery(document).ready(function () { var subid; jQuery(".hds_subm").mouseover(function () { subid=jQuery(this).attr('id'); if(jQuery("#SS_"+subid).hasClass("hds_preg_out")) { jQuery("#SS_"+subid).removeClass("hds_preg_out"); jQuery("#SS_"+subid).fadeIn(0); } else { jQuery("#SS_"+subid).fadeIn(1000); } }); jQuery(".hds_subm").mouseout(function () { subid=jQuery(this).attr('id'); …

Member Avatar for alex.tepes
0
471

The End.