Jump to content

storing values in arrays not their references or formulas


forTheDogs

Recommended Posts

Hi All!! I think this should be easy but I have not been able to find anything that gives me the proper syntax.

 

This is what I want the following to do:

 

We start off by getting the Sire ID from thisDog.  Now I want that SireID fixed so that no matter how many times I go back to it. that Sire will be the same dog as he was the very first time.

 

 

if (is_numeric($row['SireID'])) {

 

$SireQ = $sql . ['SireID'];   

$SireR = mysql_query ($SireQ);

       

$SireRow = mysql_fetch_array ($SireR, MYSQL_ASSOC);       

$SireRow = array (

'RegName' => $SireRow['RegName'],         

'SireID' => $SireRow['SireID'],         

'DamID' => $SireRow['DamID'],

'Title' => $SireRow['Title'],

'Addl_Titles' => $SireRow['Addl_Titles']);

 

Wow, I hope this makes sense!!!!

 

Thanks!!!

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.