Unable to connect php and html file

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Post Reply
johnj
php-forum Super User
php-forum Super User
Posts: 1805
Joined: Thu Mar 10, 2011 5:07 pm

Re: Unable to connect php and html file

Post by johnj » Wed Apr 17, 2013 5:24 am

The action in registration page is not connect.php, how are you going to connect.php?

johnj
php-forum Super User
php-forum Super User
Posts: 1805
Joined: Thu Mar 10, 2011 5:07 pm

Re: Unable to connect php and html file

Post by johnj » Thu Apr 18, 2013 5:05 am

Please make connect.php as a HTML page, like connect.html and make that work from your registration page.
Then, make connect.php as a simple php page, maybe with just an echo statement and make that work from registration page. Then, make your current stuff work with registration page.

johnmacd
New php-forum User
New php-forum User
Posts: 75
Joined: Wed Jun 12, 2013 9:30 pm
Contact:

Re: Unable to connect php and html file

Post by johnmacd » Fri Jun 14, 2013 12:50 am

Write form name where action="___" in form tag.
<form id="RegisterUserForm" action="form name.ext" method="post">

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests