Submiting with problems on one of the options php wprdpress

Hello I having a strange behavior with a simple submit in a page that has to fill some data from 2 inputs. Basically everytime i try inserting without values it insert, if i try and put ‘teste1’ it inserts but it doesnt insert anything than that values more.

down i have the code im using:

        if (isset($  _POST['addit'])) {     $  wpdb->insert($  table_name, array(         'names' => $  _POST['name'],         'descriptions' => $  _POST['description']     )); } elseif(isset($  _POST['deleteit'])) {         if ($  _POST['deleteid']) {             $  wpdb->delete($  table_name, array('id'=>$  _POST['deleteid']));         } } $  categories = $  wpdb->get_results($  sql); 

this is only happening in a specific tempalate i created on wordpress and not in the others that have a similar constrution. Already tried recreating the page, configuring a new page. One more thing its strange, every time i put some other string, it goes to the standard 404 wordpress page. Any Thought?

Best Regards


I can do 500 Directory Submission For Your Website Hello!!! Attention please!!!! Directory submission is very essential for business or website.It helps to raise your business rank in website world. After submission i will send status of submission report. You will get from my service: 1. 100% Manual Work. 2. 100% Customer Satisfaction. 3. Each URL will be Pinged to get index quickly in Search Engines. 4. Full Report With Login Detail. 5. will get Permanent Back links. 6. Get more traffic with my service. 7. it will improve your website Ranking. So do not think much just place an order.

by: Najeeb212
Created: —
Category: Directory Submission
Viewed: 134

For submiting your website to 500 directories within 24 hours(Experienced Seller) for $4

Hello Sir, I will submit your business or website into directories Manually. Directory submission is very essential for business or website. After submission i will send you an excel file with all links a detailed report. Qualities of Gig: 1. High Quality Directories 2. 100%Satisfaction Guarantee 3. It will improve your website Rankings. 4. You will Get more traffic with my service. 5. Without any script or bot or others system HERE IS WHAT I NEED FROM YOU 1. URL of Your website/blog. 2. Category (For Example Health, Business, Shopping) Your satisfaction is my priority! Don’t wait, Order Now Thank You

by: AbelShaju
Created: —
Category: Directory Submission
Viewed: 140

submiting your website adress to 500 directeries for $5

Hii…. Welcome to services. I will add your business or company in 500 directories manually. First i will visit your website and collect your site information such as :after work done i will submit the screenshot ans submitted link .Benefits of my service 1 Iam very faster 2 200 free directory backlink with in 24 hours. 3 100% real and active link

by: ivvivv35
Created: —
Category: Directory Submission
Viewed: 230