Re: [PHP-DB] access mysql db with DW

2003-02-08 Thread Jason Wong
On Sunday 09 February 2003 10:29, Terry L. Ensley wrote:
> You found it -
>
> It works like a charm -
>
> Thanks Dennis
>
>
> "Dennis Cole Jr" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> > Part of the problem is
> >
> > $insertGoTo = "booking_details.php?email=".HTTP_POST_VARS["email"]."";
> >
> > should be
> >
> > $insertGoTo = "booking_details.php?email="$HTTP_POST_VARS["email"]."";

For people wondering _why_ it "works like a charm" the correct statement 
should in fact be:

  $insertGoTo = "booking_details.php?email=".$HTTP_POST_VARS["email"]."";

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
--
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-db
--
/*
You need no longer worry about the future.  This time tomorrow you'll be dead.
*/


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DB] access mysql db with DW

2003-02-08 Thread Terry L. Ensley
You found it -

It works like a charm -

Thanks Dennis


"Dennis Cole Jr" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Part of the problem is
>
> $insertGoTo = "booking_details.php?email=".HTTP_POST_VARS["email"]."";
>
> should be
>
> $insertGoTo = "booking_details.php?email="$HTTP_POST_VARS["email"]."";



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP-DB] access mysql db with DW

2003-02-08 Thread Dennis Cole Jr
Part of the problem is

$insertGoTo = "booking_details.php?email=".HTTP_POST_VARS["email"]."";

should be

$insertGoTo = "booking_details.php?email="$HTTP_POST_VARS["email"]."";

-Original Message-
From: Terry L. Ensley [mailto:[EMAIL PROTECTED]]
Sent: Saturday, February 08, 2003 7:53 PM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] access mysql db with DW


I created a database in mysql - running php via apache on a XP os.  I get a
good connection in dreamweaver with the database panel - no problems
connecting and viewing tables in dw.

I created a form that I want to load the user info to the table.  My run
line is:
ttp://127.0.0.1:8080/dreamweaverhotel/bookings/add_user_record.php  - the
page shows blank - in the view source I get a basic shell of html -






That's it! - the path is good - I loaded some other php files that work in
there and they run fine.  My phpMyAdmin works great - So I know the
localhost connection is good and php is working and mysql is fine I can
access it through phpMyAdmin or dw in database panel, those parts are
working.  So there is obviously something wrong with my add_user.php file
(the one that won't work).  Now DW has put the connection variables in my
code - can anyone tell me what is wrong? - hopefully.

This was all created with DW.

And here is what is in the connHotel.php file:



Thanks - This is just the php part - the html form part goes below - I
didn't want to lload too much.








--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP-DB] access mysql db with DW

2003-02-08 Thread Dennis Cole Jr
Part of the problem is

$insertGoTo = "booking_details.php?email=".HTTP_POST_VARS["email"]."";

should be

$insertGoTo = "booking_details.php?email="$HTTP_POST_VARS["email"]."";

-Original Message-
From: Terry L. Ensley [mailto:[EMAIL PROTECTED]]
Sent: Saturday, February 08, 2003 7:53 PM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] access mysql db with DW


I created a database in mysql - running php via apache on a XP os.  I get a
good connection in dreamweaver with the database panel - no problems
connecting and viewing tables in dw.

I created a form that I want to load the user info to the table.  My run
line is:
ttp://127.0.0.1:8080/dreamweaverhotel/bookings/add_user_record.php  - the
page shows blank - in the view source I get a basic shell of html -






That's it! - the path is good - I loaded some other php files that work in
there and they run fine.  My phpMyAdmin works great - So I know the
localhost connection is good and php is working and mysql is fine I can
access it through phpMyAdmin or dw in database panel, those parts are
working.  So there is obviously something wrong with my add_user.php file
(the one that won't work).  Now DW has put the connection variables in my
code - can anyone tell me what is wrong? - hopefully.

This was all created with DW.

And here is what is in the connHotel.php file:



Thanks - This is just the php part - the html form part goes below - I
didn't want to lload too much.








--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php