WordPress database error: [Table './ay6u3nor6dat6ba1/kn6_ayu1n9k4_5_actionscheduler_actions' is marked as crashed and last (automatic?) repair failed]
SELECT a.action_id FROM kn6_ayu1n9k4_5_actionscheduler_actions a WHERE 1=1 AND a.hook='aioseo_send_usage_data' AND a.status IN ('in-progress') ORDER BY a.scheduled_date_gmt ASC LIMIT 0, 1

WordPress database error: [Table './ay6u3nor6dat6ba1/kn6_ayu1n9k4_5_actionscheduler_actions' is marked as crashed and last (automatic?) repair failed]
SELECT a.action_id FROM kn6_ayu1n9k4_5_actionscheduler_actions a WHERE 1=1 AND a.hook='aioseo_send_usage_data' AND a.status IN ('pending') ORDER BY a.scheduled_date_gmt ASC LIMIT 0, 1

Passing parameters to your controller methods in Codeigniter | Loop and Break

Passing parameters to your controller methods in Codeigniter

If your URI contains more then two segments they will be passed to your method as parameters.
For example, let’s say you have a URI like this:
localhost/myApp/index.php/Hello/anotherMethod/1234

Example

<?php
class Hello extends CI_Controller {
	public function index()
	{
		echo "Hello World!";
	}

	public function anotherMethod($id)
	{
		echo "Hello id : " . $id;
	}
}

Output

URL : http://localhost/myApp/index.php/Hello/anotherMethod/1234
Output : Hello id : 1234

Share

You may also like...