Jump to content
Larry Ullman's Book Forums

Recommended Posts

Hello Forum!

 

In Chapter 4 "Creating the Form" part, I created the login_form.inc.php but I might be missing something because I don't see any login form in index.php page so I can test it out. 

 

J.

Share this post


Link to post
Share on other sites

But, after successfully logging in, how can I make the register tab not shown? and is there a way to style the crete_form_input function so it looks a bit nicer, in css of course (I know it's off subject, but I don't seem to find enough info in the web).

Share this post


Link to post
Share on other sites

To hide the register tab, you'd just add conditional logic that only shows it if the person isn't logged in.

 

You can style the form elements however you'd like by changing the CSS.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...