@jag1authorJul 01.2015 — #yea I have it set to [code=php]
$id = "id_test";
[/code]
I mean that if i switch the width in the css the image is still as big as before. Or if i make rounded corners in the css the images corners are still straight.
@r8rJul 01.2015 — #I mean that if i switch the width in the css the image is still as big as before. Or if i make rounded corners in the css the images corners are still straight.[/QUOTE]
What does the HTML-output say? Is the id printed in there as you would expect? If yes, then you have a CSS problem; if no, then it might be PHP related. Is PHP enabled on your server at all?
@ginerjmJul 01.2015 — #You still haven't said what doesn't work as expected. Forums are very big on questions and answers and you aren't answering the questions you have been given.
Nor does this code work very well.
You are obviously new at this and are copying code from various places and pasting them together, thinking they will work, and not even reading and comprehending what you have wrought.
1 - You run a query but you never get any result from it to work with.
2 - You are referencing an undefined array to make decisions on how to proceed in your code. Not gonna happen.
3 - You have a mistake in your html output from the else clause which is probably the only code that gets output.
Turn on php error checking and see what you get. Then try and read up on how to properly code up a query and run it and get results back from it. Could be very enlightening.
@jag1authorJul 01.2015 — #What does the HTML-output say? Is the id printed in there as you would expect? If yes, then you have a CSS problem; if no, then it might be PHP related. Is PHP enabled on your server at all?[/QUOTE]
@jag1authorJul 01.2015 — #You still haven't said what doesn't work as expected. Forums are very big on questions and answers and you aren't answering the questions you have been given.
Nor does this code work very well.
You are obviously new at this and are copying code from various places and pasting them together, thinking they will work, and not even reading and comprehending what you have wrought.
1 - You run a query but you never get any result from it to work with.
2 - You are referencing an undefined array to make decisions on how to proceed in your code. Not gonna happen.
3 - You have a mistake in your html output from the else clause which is probably the only code that gets output.
Turn on php error checking and see what you get. Then try and read up on how to properly code up a query and run it and get results back from it. Could be very enlightening.[/QUOTE]