forTheDogs Posted August 18, 2007 Share Posted August 18, 2007 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!!! Quote Link to comment https://forums.phpfreaks.com/topic/65535-storing-values-in-arrays-not-their-references-or-formulas/ Share on other sites More sharing options...
forTheDogs Posted August 18, 2007 Author Share Posted August 18, 2007 Whoops! I forgot to mention: if seeing the actual site would help, you can login as a guest at www.fortheloveoflabradors.com/labradors/login.php Sorry 'bout that!! Quote Link to comment https://forums.phpfreaks.com/topic/65535-storing-values-in-arrays-not-their-references-or-formulas/#findComment-327229 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.