![]() |
How to replace this to work with new Mys
Anyone know what to replace the query with to work with the new functions? I've tried things but nothing works.
PHP Code:
|
Change this line:
PHP Code:
PHP Code:
|
Did that, now I'm getting:
Code:
Fatal error: Call to undefined function getcurrentimage() in /home/taleofdr/public_html/lineage.php on line 21 Code:
$familyinsert[0][0] = "<a href='levelup.php?id={$familymember[0][0]}'><img src='".getcurrentimage($familymember[0][0])."'/></a><br>"; |
Well that error has nothing to do with the function getfamilymember() script itself, and its simple enough to fix. I trust you will have no problem figuring it out on your own, give a try and lemme know only if you still cant find out cause of this error at the end of the day.
|
I've been fiddling with it for three days now :( Usually I can figure these things out but not this one.
It's clearly the new functions thing. It works fine on my SA site. |
Well just add the below codes to the beginning of your script file:
PHP Code:
|
Well I managed to get the page to show without errors... I didn't know how to properly change this:
Code:
$adoptexist = mysql_num_rows($result); Edit: Lol... my wisdom tooth hurts and is making my brain stupid.. I fixed it :p |
One more thing... the names aren't showing up?
Code:
function getfamilynames($familymember, $generation){ |
Well, replace the line below:
PHP Code:
PHP Code:
|
That didn't work but I left out a part... here is the original
Code:
function getfamilynames($familymember, $generation){ |
All times are GMT -5. The time now is 09:26 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.