6 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for SimonIoa

Hello, i have a problem. I want to do two things First, explode an array to retrieve the ids from a row on the table e.g. 1,5,23 and then use a variable to call a Mysql statement. Here is my code public function Show($times) { $q=mysqli_query($this->db,"SELECT to_uid_fk FROM table WHERE …

Member Avatar for SimonIoa
0
360
Member Avatar for pars99

The HTML: <!DOCTYPE HTML> <head> <link rel="stylesheet" type="text/css" href="/Users/Alireza/Desktop/Index.css" /> <script src="http://www.ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js"></script> <script type="text/javascript" src="/Users/Alireza/Desktop/Index.js"></script> </head> <body> <div></div> </body> The CSS: div{ height: 100px; width: 100px; background-color: red; border: 4px dashed #00FF00; } The jQuery: $(document).ready(function(){ $('div').click(function(){ $('div').effect('explode'); }) }) Please help me. I really don't know why it isn't …

Member Avatar for pars99
0
370
Member Avatar for LastMitch

Hi I'm trying figure why I'm getting this error **Undefined offset: 1**. I'm practicing with **list()** function and with a **explode()** function. When I ran the code it kept mention this error: Undefined offset: 1 The line is this: list($bagsize, $candyprice)=explode("#", $_GET["size"]); The list is not an array. It's on …

Member Avatar for LastMitch
0
27K
Member Avatar for code739

hi fellas, need some brilliant idea, i want to get the firstname,lastname,middlename of the employee below using javascript. ________________________ Atty.Jan Rex Camvarijan Rex Uy Cambarijan Rex Cambarijan Rex Ma.Rex B. Cambarijan ||| Rex del Rosario __________________________ what i really want is how could i separate lastname firstname middlename in those …

Member Avatar for code739
0
169
Member Avatar for Szabi Zsoldos

Hey guys, I'm working on a ajax drop down system. I'm currently finding myself in a difficulty with a $_POST[]. The thing is that I want to explode my $_POST but it doesn't let me for something, cant find it out why. [CODE] case 2: if(strstr($_POST['modelBox'],'^')) { $ex = $_POST['modelBox']; …

Member Avatar for Szabi Zsoldos
0
252
Member Avatar for six_sic6

Hi, I can pass an array through jquery ajax. [CODE] var regSubCodeArray = new Array(); var temp = 9; var i; for(i=0;i<temp;i++) { subname = 'sub'+i; subcode = 'sub_code'+i; subcredit = 'sub_credit'+i; regSubCodeArray[i] = document.getElementById(subcode).innerText; } $.ajax({ url: "testArray.php", type: "GET", data: "page="+regSubCodeArray, cache: false, success: function (html) { $('#ttl').html(html); …

Member Avatar for pritaeas
0
2K

The End.