You are here: Re: problem with php mysql iis « PHP Programming Language « IT news, forums, messages
Re: problem with php mysql iis

Posted by iulian.ilea on 10/06/06 07:50

Vjeran wrote:
> Hi
> I have one page: index.php - news portal - with headlines, every headline is
> a link to whole news , and the code is like this:
> ...
> $news_id=$row["news_id"];
> echo "<a href='news.php?news_id=$news_id'>
> ...
>
> the other page -news.php- that shows that news looks like this:
> ...
> <?php
> $result = mysql_query("select * from news WHERE
> news_id='$news_id'") or
> die (mysql_error());
> while ($row = mysql_fetch_array($result))
> ....
>
> and this works fine on the Internet (PHP/MySQL/Apache)
> but locally, I tried the same thing, and it doesn't work - but on
> PHP/MySQL/IIS
>
> it seems like it doesn't bring $news_id to sql query... is this a IIS
> problem or what?
>
> thanks for any help
> Vyeran

What is the error?

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация