I'm using PHP to upgrade a MySQL data base. The information is getting by a Form in the main page. I have a link in that page to open a BLANK page to upgrade the company Logo. After the upgrade, I have to refresh the Logo image in the parent page.
The image name in the MainPage (parent) page is "Logo"
The MainPage have the name set with <META NAME="MainPage">
I print the $LogoURL and it realy contain the logo url.
I tried
<INPUT TYPE="submit" NAME="submit" VALUE="Upload" onClick=parent.document.Logo.url="<?php echo $LogoURL ?>">
I tried also
onClick=parent.document.Logo.url
onClick=parent.Logo.url
onClick=MainPage.Logo.url
onClick=parent.document.Logo.url
onClick=referrer.document.Logo.url
onClick=referrer.Logo.url
I tried a lot more stuff like this but nothing happen.
Please, I'm sure it's so easy... what is the good answer?