Title: Adding custom html css and php tags
Last modified: January 24, 2020

---

# Adding custom html css and php tags

 *  [debajyotidutta](https://wordpress.org/support/users/debajyotidutta/)
 * (@debajyotidutta)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/adding-custom-html-css-and-php-tags/)
 * Hello…I am working on a project..There is a page which can be accessed by only
   logged in users..and in that page I will take some input and save the data to
   my database along with the user name..
 * Suppose there is a logged in user and he visits that page,now he will enter his
   phone number and click on submit,and the data will be submitted with his username
   in the database..
    I want to do this using html and php MySQL.. please guide 
   me through proper procedure.
    -  This topic was modified 6 years, 4 months ago by [debajyotidutta](https://wordpress.org/support/users/debajyotidutta/).
    -  This topic was modified 6 years, 4 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fadding-custom-html-css-and-php-tags%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [joshben](https://wordpress.org/support/users/joshben/)
 * (@joshben)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/adding-custom-html-css-and-php-tags/#post-12363371)
 * Hi,
 * Have you thought about using a simple form plugin such as [ninja forms](https://wordpress.org/plugins/ninja-forms/)
   or [contact form 7](https://wordpress.org/plugins/contact-form-7/)? Then you 
   can control the access to the page for logged in users using another WordPress
   plugin such as these listed below.
 * [https://wordpress.org/plugins/pagerestrict/](https://wordpress.org/plugins/pagerestrict/)
   
   [https://wordpress.org/plugins/restrict-user-access/](https://wordpress.org/plugins/restrict-user-access/)
 * I would use the combination of a form plugin and a membership/restrict access
   plugin.
 * Please let me know if this helps.
 * Thanks!
 *  Thread Starter [debajyotidutta](https://wordpress.org/support/users/debajyotidutta/)
 * (@debajyotidutta)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/adding-custom-html-css-and-php-tags/#post-12363719)
 * Yes… contact form helps to save the data…but after that I need to run some php
   queries and give them some results on that page.
 * Shall I need to elaborate more?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Adding custom html css and php tags’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [debajyotidutta](https://wordpress.org/support/users/debajyotidutta/)
 * Last activity: [6 years, 4 months ago](https://wordpress.org/support/topic/adding-custom-html-css-and-php-tags/#post-12363719)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
