- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
24 Posted Topics
Hi, Just looking for a quick hand in a question. I am using jquery validator for a form and some dynamic fields I am trying to have some fields required only if 2 conditions have been might, a select box selected and a radio button checked... Here is the code … | |
Hey, I was wondering if someone could help me with this. I want to, when an anchor link is clicked, the id of the link is grabbed by jquery then passed to a function. The id is would be the same as the id of the div that is used … | |
Hi all, I am trying to select multiple rows from the database and then separate the rows into array values so I can use them throughout my code. This is what I have right now... [CODE] $result = mysql_query("SELECT url, image, placement FROM advert WHERE user='1'") or die(mysql_error()); //This grabs … | |
Re: Ok so however you set your variables up, say using an array. [CODE]$husband['son'] = 0; //0=no 1=yes $husband['daughter'] = 0; $husband['grandson'] = 0; $husband['granddaughter'] = 0; // the php statement below would achieve what you are looking for I believe if (($husband['son'] == 0) && ($husband['daughter'] == 0) && ($husband['grandson'] … ![]() | |
Hi all, I am at a stand still with trying to figure this out. I have a textarea, i would like to check for links entered by users and replace/remove the anchor attribute from the string. ie. change [ICODE]<a href='google.com'>website</a>[/ICODE] to [ICODE]website[/ICODE] its more so to validate ( i have … | |
Using Wordpress with update_user_meta and php array. Had a quick question regarding dynamic input fields and posting it to php. [CODE] <input type="text" name="test[]" /> [/CODE] These fields get added dynamically as well using jquery which works fine, the issue im having is posting the array individually. To save this … | |
I wasw ondering if someone could help me out with attaching multiple files to an email using uploadify and contact form. So far I have the file locations and names put into an array [CODE]<input type="hidden" name="file_name[]" value="/uploads/'+response+'" />[/CODE] How would I attach these files to an email through php. … | |
Hi all, I am having an issue with a php script that has worked fine in php 5.2.0 but with an upgrade to php 5.3 it is only prtly working. From what I understand ereg has been depreciated so I have tried many variations of trim() and preg_match() to remove … | |
What I would like to do is have 2 buttons to submit a single form. One button is to save the form for editing later the other is to process it. With... [CODE]$("#saveform_ns").click(function(){ $('form#form_main').attr({action:"http://path/to/save.php"}); $('form#form_main').submit(); })[/CODE] I can get the submit button to work and the above button to work. … | |
Re: Where you have... [CODE]elseif ($_FILES["file"]["size"] < 214748364.8){ $size = "20%;[/CODE] There is a missing closing double quote " . [CODE]elseif ($_FILES["file"]["size"] < 214748364.8){ $size = "20%";[/CODE] | |
Hi all, I am having quite some trouble with doing a certain task in php that im sure someone would know how to do it. To start, I want to have my script create a table for every 12 keys in an array. Here is the beginning of the code: … | |
Re: If you would want to use IPN you will need to set up a script that paypal will call once payment has been processed or failed. This is useful if you don't want to have to check everyday for the payment. But for you application, if you don't need it … | |
Hi there, I am in need of help, I would like to know how to create a link that when clicked it will change the order a list is displayed. Specifically in wordpress when using a codex to display posts. [B]How would I create a link or dropmenu that can … | |
Hey everyone, I just got a solution from here, but I think I spoke to soon, as I ran into another problem right away. I have been playing around with it for a couple days now, and just hoping that someone could explain or see why it isn't working. I … | |
Hi there, I am having some issues with getting a variable from an onclick event with javascript. [CODE] $('#preview_logo').append('<img src="'+fileObj.filePath+'" height="100px" hspace="5" /> '+fileObj.name+' uploaded.<a href="javascript:;" id="dele_image" onclick="del_image('+fileObj.filePath+','+fileObj.name+');">Upload Different Image</a><br>');[/CODE] This is for uploadify script for previewing an image that is uploaded, it creates the link fine, but won't trigger … | |
Hey, I have, what I think is an easy situation to solve. I am trying to have variables dynamically written to html depending whether a checkbox is ticked. This is what I have right now - if someone might also know the proper way to write this it would be … | |
Hi there I'm trying to use jquery to load some content on a page but cannot seem to find anything through google. I have about 10 checkboxes, once 4 are selected I want to get their ids, than load 4 divs with textareas depending on the ids of the checked … | |
Hey, Im wondering if someone could tell me how to set a variable depending on the link that is clicked than pass it to php. It's for a rating plugin - The links will be numbers 1 - 5 and need to pass the integer to php when clicked.. in … | |
Hey, I was wondering how to obtain a hash value and pass it to php. URL: [CODE]http://www.mydomain.com/#id=110[/CODE] All I want to grab is just the "110". This is my javascript code: [CODE] <script> function getUrlVars() { var vars = [], hash; var hashes = window.location.href.slice(window.location.href.indexOf('#') + 1).split('&'); for(var i = … | |
hi all, I am wondering if someone could give me a quick hand with some php im trying to edit in Wordpress. Heres the original peice I am trying to edit: [CODE] <div class='dateauthor'> <small class='capsule'><?php the_time('F jS, Y') ?> by <?php the_author() ?> </small> </div>[/CODE] What I want to … | |
hi all, I am wondering if someone could give me a quick hand with some php im trying to edit in Wordpress. Heres the original peice I am trying to edit: [CODE] <div class='dateauthor'> <small class='capsule'><?php the_time('F jS, Y') ?> by <?php the_author() ?> </small> </div>[/CODE] What I want to … | |
Hi all, Thanks for any help anyone could give. I am using Jscrollpane to customize my scroll bars. I have the plugin working but what I am wondering is how to implement scrollBy function to scroll by paragraphs. This is what I currently have: Head section script: [CODE] <script type="text/javascript"> … | |
Hi there all, I want to grab information from an url with anchors and I suppose this can't be done with php, as ive been told and that it would have to be done with javascript. I am wondering if anyone knows the code to grab the url and anchor … | |
Hey all, Just had a quick question (hopefully Im in the right area). Does anyone know where I can find something like a video directory script? I have used phpmotion in the past, but I would like a script that is more like wtso, xepisodes, or family-guy-online(org). What I want … |
The End.