Jump to content

Recommended Posts

I want to create a link on my site

 

I want that link to open to http://mysite.com/enter.php

 

 

I want that link to only open if required fields are met from stored infomation in my SQL DB

 

 

if requirements are not met to redirect to http;//mysite.com/noenter.php

 

gather information like.. (below) to decide if entrance is permitted.

 

USER

FIRST NAME

LAST NAME

ZIPCODE

Link to comment
https://forums.phpfreaks.com/topic/268895-link-help-from-db-sql/
Share on other sites

You'll need to show us the code you have so far, along with the table definition, what the "required fields" are (and what kind of data meets these requirements), how you get this data from the user, and anything else you think might be relevant for the problem at hand.

 

This section is for helping you with problems you have with the code you yourself have written, if you're looking for help to designing your site you should have posted in the "Application design" section. Also, if you really have no idea on where to start on this project, then I strongly recommend that you start with a PHP tutorial to learn what you need.

This thread is more than a year old. Please don't revive it unless you have something important to add.

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.   Restore formatting

  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.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.