Copy link to clipboard
Copied
I am not sure what is going on in my code.
I have a field where use
<?php
if ($pets==1) echo "Pets Allowed";
?>
and that works fine. Integer 1 in my database.
But when I want to use that for another field, same exact settings, just different field, nothing shows up. Even tried putting in quotes. I queried from mysql with success and using the entered value of 1 in the dreamweaver recordset window and it showd. But yet the PHP wont display.
Copy link to clipboard
Copied
You have showed an example that works, but not one that fails. It's the code that fails that you need to show.
Copy link to clipboard
Copied
That's the thing. Everything is exactly the same. The line of code is copied and only replacing pets with cdla.
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more