Does any know if it's possible to call PHP into a css DIV? Or would one have to use Iframes in that case?
Cheers in advance.
Does any know if it's possible to call PHP into a css DIV? Or would one have to use Iframes in that case?
Cheers in advance.
Oh yeah.
I'll try it. Come on it's Friday.
God knows what I'm doing wrong. Even server side includes aren't working.
I'll wake up soon. I hope.
removed.
Last edited by Bazzlad; 08-11-2006 at 10:42 AM.
what error are you getting ?
It is Inevitable.....
removed
Last edited by Bazzlad; 08-11-2006 at 10:42 AM.
You'll probably find that if you take <script> tags out it will work. You don't need them. Your basically saying I want to use PHP here when you put code between the <script> tags then your saying it again when you put code between the <?php ?> tags. You only need one and it should be <?php ?>.
I took the <script> tags out and it works (when configured).
Cheers matey
ARRRRRRRRRRRRH
Error performing query: ' . mysql_error() . ''); } while ($row = mysql_fetch_array($result)) { echo '
' . $row['text'] . '
'; } ?>
Is it outputting that to the browser screen?
removed
Last edited by Bazzlad; 08-11-2006 at 10:42 AM.
Your problem is that your file extension is .html it HAS to be .php when using php code in an html page. Take that page down right now and any others you have with php code in them which end in .html or .htm since their giving away vital security information.
Check that your web host provides PHP/Mysql Support as well.
Last edited by Dorza; 06-10-2006 at 03:07 PM.
Cheers mate. I have PHP/Mysql, I'm getting somewhere now. It's a very strange language. :@ Maybe I should have gone for ASP...
You don't want to be going the ASP route. Its spaghetti code. asp.net is a marked improvement over the old ASP but I still prefer PHP, the syntax is just clearer to me. If you had gone for ASP you would have had the same problems since ASP code is only recognized in .asp files as far as i know. I haven't had much experience with the dark side (asp).
There are currently 1 users browsing this thread. (0 members and 1 guests)