|
Post by ziriboy on Mar 7, 2020 23:36:07 GMT
Hey all...Hope everyone is doing well and keeping safe from corona. Today i built me a simple savings goal calculator using php and html. running it on a page outside antenna it works. When i bring it in it doesn't. I tried adding 2 textboxes named them the same as in the code and in the click events of the button added the php but didnt work. Inserted visual html to build the input boxes and button along with the php - but only the button is built and no input boxes. I even uploaded the entire calculator.php file into antenna still nothing.
How do i do this please, eish i'm lost?
|
|
|
Post by J on Mar 9, 2020 14:10:07 GMT
Hi Ziriboy,
Sounds like you're almost there - especially if it works OK outside Antenna. It might be down to naming and IDs. Can you post a link to the page so we can take a look?
Cheers, J
|
|
|
Post by ziriboy on Mar 10, 2020 8:06:18 GMT
Good morning guys. SUre sure...This is the link. www.haup.co.za/pages/calculator.phpI've tried numerous approaches. I inserted a quick button, linked it to calculator.php (which i imported into the core folder, as well as but on a different attempt into a folder where I keep all the site pages called pages) then linked that to an IFrame. Result - it loads the code. If I link the Iframe directly to calculator.php it says the file was moved or deleted. WHen I inserted the code snippes in a visual html it builds the inputs num1 and num 2 insert the button but1 but when i click to test an examle it opens a new window saying file not found. Ohya....I do also start a local server via cmd "php -S localhost:4000" BUT NOTHING...Eish! www.haup.co.za/pages/calculator.phpWhat to do?
|
|
|
Post by ziriboy on Mar 11, 2020 14:09:38 GMT
Got it working. Thank you very much guys. Simple manual install of iframe into exported page using notepad++ and she ran....dont now why from inside antenna she didn't want to....oh happy days....case closed!
|
|
|
Post by J on Mar 12, 2020 10:03:05 GMT
Cool - glad you got it working!
Cheers, J
|
|