No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I have a php function that list all of the countries from my database as a select option, then based on what the user selects for their country im using jquery to make an ajax call and get all of the states/regions for that country. This part works fine. I'm … |
|
I keep getting a error and I can't figure out whats causing it. An error(8) occurred on line 25. Undefined index: ecount Line 25 is [CODE]$parent_menu[$row->parentId]['ecount']++;[/CODE] and is apart of this, [CODE] if($row->parentId == 0){ $parent_menu[$row->id]['id'] = $row->id; $parent_menu[$row->id]['label'] = $row->title; $parent_menu[$row->id]['link'] = $row->id; $parent_menu[$row->id]['active'] = $row->active; $parent_menu[$row->id]['type'] = $row->type; … |
|
Hello, I'm trying to get a var from php into my jquery code, but I'm having no luck. Jquery: [CODE]$.ajax({ type : "POST", url : "sortProp.php", data : "f="+type+"&s="+filter, success : function(data){ $('#propHold').html(data); $('#propHold .prop:first').addClass('active'); alert(data.title); } }); [/CODE] Php: [CODE]$title = array("title" => "$propName"); json_encode($title);[/CODE] I can't seem to … |
|
I have a ul and I would like to animate each li in descending order, and I'm having no luck on this. my current code it, [CODE]function menuItemsIn(){ $(".ac_menu ul li").each(function(){ $(this).animate({marginTop : '0px', opacity : '100'}, {duration : 'slow', easing : 'easeInBack'}).delay(200); }); }[/CODE] It animating all the li's … |
|
We have a client that came to us, and his admin panel is using a iframe system, [CODE]<html> <head> <title>Administration Area</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <frameset cols="180,*" frameborder="NO" border="0" framespacing="0"> <frame src="menu.php?id_mnu=prd" name="leftFrame" frameborder="yes" scrolling="YES" noresize> <frame src="landing.php" name="mainFrame" frameborder="yes" bordercolor="#000000"> </frameset> <noframes><body> </body></noframes> </html>[/CODE] Now I'm loading landing.php … |
|
Okay, so I have button that onclick it displays a div. Inside of this div I have a cfform and a cfdiv. [CODE]<div id="test" style="display:none;"> <cfform> <cfinput name="tinput1" type="text"> </cfform> <cfdiv bind="url:tests.cfm?InputText={tinput1}" ID="theDiv"/> </div>[/CODE] This works but it works only if I click off of the input, is there a … |
|
Ii have been working on a shopping cart, the way my cart works is that for each item in a users cart the data is stored in a database. So if the users has a hat and a glove there are 2 rows in my table, the rows are joined … |
|
I have a search where I want to be able to search a string of words. The search is going to be looking in 2 different table joined by a left outer join. The tables are "quotes" and "categories". <?php $sql="SELECT q.id, q.username, q.quote, q.by, q.voteup, q.votedown, q.servtime, c.label FROM … |
|
I'm currently creating a PNG image from a random sql statment. Its just outputting text, but I was to limit the number of chars per line. I have this working, but its repeating the text to the next line. Below is the code on how I'm doing this. [CODE] imagestring($image, … |
|
I was wondering if anyone has taking a dynamic pdf form, and populated from a php form or from mysql information? I have been looking into Fpdf, and other methods, but they don't seem to do what I'm looking for. The reason for this, is I need to output a … |