Hi,
I've got a list of names which i am fetching from database like this:
$qry = db_query("SELECT * FROM names");
$i=1;
//prepair list
$html .= '<ul><li>';
while($list = db_fetch_object($qry)){
$html .= '<a>'.$list->name.'</a><div style="height:0px;"></div>';
if($i%6==0){
$html .='</li><li>';
}
$i++;
}
$html .='</li></ul>';
return $html;
Clicking on a name displays its details on next page.
Now my requirement is that i want to display the selected record on next page at the top of the list and rest coming after this record.
I am not getting a way to achieve this!
Please suggest me someway of doing this!
Thanks
Probably a simple error...
I'm getting the error -- Parse error: syntax error, unexpected '{' in /home/content/c/s/t/csteffen242/html/staples/event.php on line 46I checked it over and couldn't find anything wrong with an extra
Calander Basic Spript help
hi, just starting out with PHP and have the following script: <?php //This gets today's date $date =time () ; //This puts the day, month, and year in seperate variables $day = date('d', $date)
Program with calculate Meteorologic measurements
Hello I'm a beginner and I want to make a program with calculate Meteorologic measurements:
PHP Cannot redeclare class
I have 6 files, and two of them do not seem to want to play well. I keep getting a "Cannot redeclare class" error.** edit **I know its these 2 files, because when i comment out the
how to easy edit text, with box? Help.
Hi.I have a little problem. I'm doing a webpage for my aunt and I would like to make it as easy for her as possible to edit the text. So, I am going to make a Admin site where she can login and then I
Linkage between two scripts
Okay say I have this for a link in a script:Code: <li><a href="#" onclick="ajaxpage('bio', 'content'); return
How to write on database when a link is clicked?
Hi,
All possible combinations of String in PL/SQL
Hi All,
PHP and MySQL on intranet?
Is it possible to use both these on an intranet network?
mod_rewrite.c on windows ??
why it's not working on windows while it's working on other hosts??? this is the code i got from a tutorial :Code: [Select]<IfModule mod_rewrite.c>RewriteEngine OnRewriteBase