passing values to a custom script in wordpress via url -


I am customizing the Caffeiz plugin in WordPress and I have added a report and takes all records from the database and displays them in a table. This way the report looks like a link.
  http: //localhost/er/wp-admin/admin.php?page=cforms/cforms-report.php   

I now have a record To delete, I want to create a link for each record in each row. For this I have passed the record ID like this to my script.

  http: //localhost/er/wp-admin/admin.php?page=cforms/cforms-report.php? Id = 12   

Also tried for this

  http: //localhost/er/wp-admin/admin.php?page=cforms/cforms -report Php / 12   

In both cases, I get this when I click on link removal.

  You do not have sufficient permissions to access this page.   

Please tell me how I can get value in my script from url.

thanks

Anyone is expecting such a silly question , This answer can help. All you have to do is

  http: // local host / ar / wp-admin / admin.fp? Page = Consumers / Correspondents-Reports.fp & amp; ID = 12   

and you can get the ID in your script. It was a very basic mistake and I could not understand the hours.

Comments