No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Re:
Suppose this is a Table Create Table Person( PersonID varchar(8), PersonLN varchar(16), PersonFN varchar(16), PersonADD varchar(64), PersonPH varchar(16)); so there are many enrty in that table.. So how to select the lastest row entry from that table? what will be the Mysql statement? take PersonID as a Primary key.......... |
|
|
Re:
I have recieved this, Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in C:\...register.php on line 16 I dont understand to be honest what this mean as i am new to php and mysql. What do i need to do to fix this problem? Below is my php. … |
Re:
i have a problem with array i have 2 table please check attachment [code=php]$sqlQuery=mysql_query("select * from tbl_page_detail where page_name='Home'"); $sqlArr=mysql_fetch_array($sqlQuery); $arr = explode(",", $sqlArr['page_cat']); $arrsize=count($arr); $arrsizefloat=ceil($arrsize/2); for($i=1;$i<=$arrsizefloat;$i++){?> <? for($f=1;$f<=$arrsize;$f++){ if($f%2){ echo $val=$f-$i; $yahoo[]=$val; } else { $yahoon[]=$val;} } $comma_separated = implode(",", $yahoo); }[/code] i want to fetch category name from … |