Hi ,
I am new to this forum and i am not quite sure if I post in the correct corner, my apology for this.
I really need your expertise about my little problem.
I am using CodeIgniter framework in my project. What i am doing is passing all variable value to another page by the use of jquery.
(sorry for my term, i am still new to programming

)
When i try to click the submit button, it goes me to the page but it says:
"A PHP Error was encountered
Severity: Notice
Message: Undefined index: project_name
Filename: controllers/insert_classes.php
Line Number: 7
"
this is my sample code in request_view.php(this is under view)
<script type="text/javascript">
$(document).ready(function(){
$('#submit_button').click(function(){
$.post('<?php echo base_url(); ?>index.php/insert_classes/request/',
{
project_name: $("#project_name").val()
project_key: $("#project_key").val()
},function(){
alert("ning sulod bai!");
window.location='<?php echo base_url(); ?>index.php/insert_classes/request';
});
});
});
</script>
and to get the value, i just simply code this one in my insert_classes.php(this is a controller)
function request(){
ECHO $_POST["project_name"];
}
It may be very simple for you, but not for me...
I hope someone can help me out of this....
Thanks in advance...
