Done like you recommended with the selectlike '%".$var."%' but it still
gives me empty rows of data.
Everytime I try and search for something it returns with 7 rows of data, all
of which are blank. I'm using the basic mysql_num_rows to get the number of
rows of data it retrieves, and I'm usin
I'm trying to implement a search on my site. When the user enters a search
string and pressed the Search button it sends the search string into a
cariable I call searchfor, and I then construct a query that goes something
like :
"SELECT FROM WHERE product_name LIKE $searchfor.
now I know t
On the recommendation of another, I have abandoned cookies, sort of, and
gone for sessions instead.
I've tried to write it so that when a user logs onto my site for the first
time they input all their details a session is registered, which I
(unoriginally) called $session from someone else's exam
There is indeed a configuration problem with PHP/Apache. But as Flint
> mentionned, cookies are a tough lot, so it's rather unlikely.
>
> Hope this helps!
>
> Olivier
>
> At 23:18 2001-05-02 +0100, r.gelstharp wrote:
> >The trouble I'm having is simply that I
n't doin' it.
Flint Doungchak <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> In your defense, cookies are pretty stubborn, so don't feel bad. What
> exactly is your problem so we can find out how to help you.
>
> -Flint
>
I'm having trouble getting cookies to work. I'm using PHP4, and yes I have
already read the manual and I've done like it says to place the setcookies()
function BEFORE any other calls such as and so forth.
Have I missed a configuration I should have done in setting up
PHP/Apache/whatever? I don'
Is there a PHP equivalent of "Request.ServerVariables( "SCRIPT_NAME" )" from
ASP?
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
I'm trying to convert my ASP pages into PHP, but I've come across a snag
with an included page that contains a load of custom functions .
I tried a C-like way of trying to construct the functions/procedures, but it
didn't work.
How do you construct functions in PHP? What's the syntax and what va
In the attempt at trying to convert my ASP pages to PHP, I've run across a
little include file that contains a number of functions.
this is the function I'm trying to emulate :-
FUNCTION SELECTED( firstVal, secondVal )
IF cSTR( firstVal ) = cSTR( secondVal ) THEN
SELECTED = " SELECTED "
As a university degree student my final year project is a comparison on ASP
v PHP. I have to make two identical sites in both languages, but am at the
moment having trouble duplicating a function on my ASP pages in PHP.
The default page in my ASP pages display random records from the database to
I'm having problems with getting PHPEd, and through that phpMyAdmin, to
work.
I've downloaded both the latest version and the preview and neither work.
What's more both report the same error when I try and use them.
When I try and run PHPEd.exe it reports that the program "Has performed an
illeg
I think I'm a little too close to the problem to see it properly, but
there's something wrong with my SQL syntax in this query I'm trying to
create.
Readers of Julie Meroni's PHP Essentials will recognise it.
http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
I'm new to the game of PHP and MySQL but have the latest versions of both
installed along with Apache on my Win 98 machine.
I'm having problems connecting to a database I know is there, an empty one
that I'm trying to use PHP to add tables to.
In the "die()" statement to the "mysql_select_db()" f
I have installed PHP4 on my Windows 98 machine and have downloaded the
latest MySQL server too.
I can finally get my PHP scripts to run, but I'm now having problems when
trying to connect to my database.
I have followed the steps in the book by Julie Meloni PHP Essentials, and
have, as far as I
14 matches
Mail list logo