You are here: Re: newbie wanting advice on search form « PHP Programming Language « IT news, forums, messages
Re: newbie wanting advice on search form

Posted by Geoff Berrow on 09/26/05 23:50

I noticed that Message-ID:
<1127766768.439415.269120@o13g2000cwo.googlegroups.com> from wgerry
contained the following:

>Thanks for your reply so quick Geoff, but I tried it a few different
>ways and Ive just tried it your way by copying and pasting (just to
>make sure) and I still get the same result.

OK. I assume the database connection is ok and that
you have edited all the bits you need to edit to connect to your
database?

//connect to your database ** EDIT REQUIRED HERE **
mysql_connect("host ","usename",password"); //(host, username,
password)

//specify database ** EDIT REQUIRED HERE **
mysql_select_db("online") or die("Unable to select database"); //select
which database we're using

If that's ok...

Have you got phpMyadmin? If so, echo the $query to the screen and then
cut and paste it into PHPMyadmins SQL box. You can then test the query.

--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/

 

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

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