• hello,

    i incuded my first plugin in the options pannel. when i aktivate the page via wp.admin everything is fine:

    /wp-admin/options-general.php?page=myFirstpLugin

    when I submit my options I get followings reseltung url, which thorows an error.

    wp-admin/myFirstpLugin.php

    where is my fault?

Viewing 1 replies (of 1 total)
  • Thread Starter bluelemonade

    (@bluelemonade)

    ok, now i got the my page back! but the parameters are gone??? I din’t see it!

    <form name ="pull" action="" method="post">
    
    	<strong><label for="rawFolder"><?php _e('Select Project to edit:'); ?> </label></strong>
    	<select name="rawFolder" id="rawFolder">
    <?php
    
    	$counter = 0;
    
    	foreach ($rawFolders as $folder_key ) {
    		$folder_name = $rawFolders[$counter];
    		if ( $folder_key == $rawFolder )
    			$selected = " selected='selected'";
    		else
    			$selected = '';
    			$folder_name = esc_attr($folder_name);
    			$folder_key = esc_attr($folder_key);
    			echo "\n\t<option value=\"$folder_name\" $selected>$folder_name</option>";
    
    		$counter++;
    	}
    
    ?>
    		</select>
            <input type="hidden" name="action" value="pull"/>
    		<?php  submit_button( __( 'Select' ), 'button', 'Submit', false ); ?>
    
    	</form>
Viewing 1 replies (of 1 total)

The topic ‘Form Submit Problem’ is closed to new replies.