Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Viewing all articles
Browse latest Browse all 8245

Crashdownload on "php_self problem"

$
0
0

Hi!

I hope some one could help me this problem i got.
I hav med a plugin that sends and deletes information to and from a sql server all within the same php page. the "add" form works as it should and there is no problem there, in that form I am leaving the action="" empty to send it to the same page.

but in my "delete" form i need to add the " ?id='.$row[id].' " to get wich ID to delete but if i just add that to the action="" field it directs to wp-admin/options-general.php?id='.$row[id].' wich is incorrect as it is not directing to the plugin page like the "add" form does.

how can i get it to add the line of code to the correct " php_self " site wich is /options-general.php?page=plugin_name.php ?


Viewing all articles
Browse latest Browse all 8245

Trending Articles