View previous topic :: View next topic |
Author |
Message |
liico -
Joined: 21 Aug 2008 Posts: 2 Location: Sweden
|
Posted: Thu Aug 21, 2008 1:43 pm Post subject: php site errors! |
|
|
Hello
I recently installed AWS on my Vista machine and I've got my php sites to show up after some php.ini problems and AWS config errors, but.. there still remains one big problem.
When I'm looking at my "news" page the site will echo out some of the code for getting information from the database. for an example:
I can have
Code: | while($rad=mysql_fetch_array($asd)){
echo '<p class="news">'.$rad['asd'].' (posted by: <a href="profile.php?show='.$rad['asd'].'">'.$rad['asd'].'</a> @ '.$rad['date'].')</p>
<p class="maintext">
'.$rad['asd'].'
</p><br>';
} |
and then he will echo out
Code: | '.$rad['asd'].' (posted by: '.$rad['asd'].' @ '.$rad['asd'].')
'.$rad['asd'].'
'; } ?> |
insteed of the news :S I got the same script on my original host (freetzi) but I'm done with them and will host my site on my own comp for a futher move to a better host. Anyone knows if there could be a php.ini problem or anything? (Remember, this is just a test script to get php to work correctly.) |
|
Back to top |
|
|
swissboney3 -
Joined: 02 Jul 2005 Posts: 31
|
Posted: Fri Aug 22, 2008 3:12 am Post subject: |
|
|
hmm its like the php tag is being closed off early...never come across that bug before. |
|
Back to top |
|
|
liico -
Joined: 21 Aug 2008 Posts: 2 Location: Sweden
|
Posted: Fri Aug 22, 2008 12:54 pm Post subject: |
|
|
Me neither untill last night when I've installed AWS on my comp.
Don't really know how to fix this problem either, if it could be a comfiguration in the php.ini or the config in AWS since it's not the scripts. their working on my host as I said so there has to be something else. =/ |
|
Back to top |
|
|
swissboney3 -
Joined: 02 Jul 2005 Posts: 31
|
Posted: Fri Aug 22, 2008 1:10 pm Post subject: |
|
|
hmmm ye its strange...check ur PM's liico |
|
Back to top |
|
|
|