"; exit; } } $title="Cross Section Atom Information"; include "/home/www/htdocs/PhysRefData/Ionization/Inserts/main_header.php"; ?>

Holdings for

Symbol:
Atomic Weight:
Ionization Energy: eV
Ground-state Configuration:
Ground-state Level:
"; echo ""; echo ""; echo "
".($row[0]=="neutral"?"Neutral":$row[0])."
Ionization      Excitation    
"; $res=mysql_query("select Initial, Total, Differential from IdHoldings where Id=\"" .$id."\" and isIon=\"I\""); while ($row=mysql_fetch_row($res)){ if ($row[1] == 'Y'){ echo "Total\n";} if ($row[2] == 'Y'){ echo "

Differential
\n";}}} echo "
"; foreach($ids as $id){ $res=mysql_query("select Initial, Final from IdHoldings where Id=\"" .$id."\" and isIon=\"E\""); while ($row=mysql_fetch_row($res)){ // prevent 10p from appearing first, move it to the end if (ereg ("10p", $row[1])) { $initial_w_10p=$row[0]; $final_w_10p=$row[1]; } else { echo "".$row[0]." -> ".$row[1]."
\n";} } if (isset($initial_w_10p)) { echo "".$initial_w_10p." -> ".$final_w_10p."
\n"; } } echo "
"; echo " "; // NEW EXCITATION ENERGIES TABLE CODE $res=mysql_query("select Initial, Final, Energy from excit_energies where Id=\"".$id."\""); if (mysql_numrows($res)>0){ echo ""; echo ""; while ($row=mysql_fetch_row($res)){ // prevent 10p from appearing first, move it to the end if (ereg ("10p", $row[1])) { $initial_w_10p=$row[0]; $final_w_10p=$row[1]; $energy_w_10p=$row[2]; } else { echo "\n";} } if ($initial_w_10p) { echo "\n";} echo "
Excitation Energies (E) in eV
ExcitationE
".$row[0]."-".$row[1]."".$row[2]."
".$initial_w_10p."-".$final_w_10p."".$energy_w_10p."
"; } echo ""; // END EXCITATION ENERGIES TABLE CODE ?>