Published stories - Programming

5
Why am I not getting any action in my WHILE loop ??view story

http://www.codingforums.com I've got a loop from which I can't seem to get ANY feedback, and I'm stuck. Here's a summary of what I've got. The first WHILE loop works wonderfully, but the one in the IF is non-responsive. PHP Code: $result_1='...all the qry stuff...'; echo 'Rows = '.mysql_num_rows($result_1).': ';  // for testing (successfully prints count). while ($row_1 = mysql_fetch_assoc($result_1)){  // pre-build an array of the shift id's (this loop works JUST FINE)     $shiftsArray[]=$row_1['shiftId']; (Programming)

5
show last part of array, same order, no duplicatesview story

http://www.codingforums.com I wish to get only the last part of each array 'g' And then show non duplicated 'g' but in the same order that it was in the original array. Code: <?php $formarray = array( 'name' => array(       'i1'=>      array('a'=>'a1', 'b'=>'b1', 'c'=>'c1', 'd'=>'d1', 'e'=>'e1', 'f'=>'f1', 'g'=>'g1'),       'i2'=>      array('a'=>'a2', 'b'=>'b2', 'c'=>'c2', 'd'=>'d2', 'e'=>'e2', 'f'=>'f2', 'g'=>'g2'),       'i3'=>      array('a'=>'a3', 'b'=>'b3', 'c'=>'c3', 'd'=>'d3', 'e'=>'e3', 'f'=>'f3', 'g'=>'g3'), (Programming)

4
looking for an easy reusable calendar popup scriptview story

http://www.codingforums.com I am after a script that will allow a calendar to pop up to select a date in UK date format. I have a page that has a form with three date fields so the script needs to be reusable. I have been told to use jquery but could not work out how to reuse or get the calendar to be a different size other than half the size of the full page screen! the whole sites CSS also got messed up using jquery for some reason, think maybe I had used the same CSS tags as jquery? So looking for a basic calendar script no-frills, short sweet reusable. :-) Can anyone suggest some? (Programming)

4
Javascript to Drag Drop in Circular Motionview story

http://www.codingforums.com Hi, I have a scenario in which i have to drag and drop some objects in a circular motion, but under spacific boundaries. To expain the scenario better, I have attached a image of the problem. If possible kindly provide me code, either logical description/solution of the problem would be very helpful. Thanks Sa9chit Attached Thumbnails   (Programming)

5
flash validation "embed"view story

http://www.webdesignforums.net So ive been working on re-coding my site into a clean CSS layout. Im getting the hang of it pretty good, although it gets pretty frustrating sometimes, but a quick search around the web usually turns up the answer.. anyway.. how do I fix this in relation to a flash audio button I have (eventually will have 6 on this page) the tag name: "embed" not found in current active versions.[XHTML 1.0 transitional] (Programming)

3
flash validation "embed"view story

http://www.webdesignforums.net So ive been working on re-coding my site into a clean CSS layout. Im getting the hang of it pretty good, although it gets pretty frustrating sometimes, but a quick search around the web usually turns up the answer.. anyway.. how do I fix this in relation to a flash audio button I have (eventually will have 6 on this page) the tag name: "embed" not found in currently active versions.[XHTML 1.0 transitional] (Programming)

5
multiple column issues - especially IE6 :(view story

http://www.webmasterworld.com Columns wont get aligned verticaly (Programming)

3
Datepicker Issueview story

http://www.codingforums.com Hi all, I am using a date picker plugin from here: http://www.triconsole.com/php/calend...er.php?cPage=1 In-particular the 'Date Pair Example' It works fine in terms of functionality but the input boxes don't show behind the dates like they do on the example! It says if showInput isn't set then the date will display in a panel but it doesn't on mine! showInput (bool flag) Optional: Set the input box display on/off. If showInput set to false, the date will display in panel as example above 'DatePicker with no input box'. Default value is true Ex. $myCalendar->showInput(false); (Programming)

3
HELP! I need some php help...view story

http://www.codingforums.com I need some coding help! I have a website and have coded the following (see below). It looks fine on the main page but as soon as i click a category the font goes smaller?! I have a feeling it's either a missing </div> tag or one too many?!?! I have no idea though and can't seem to find what it is. Would really appreciate any help! J PHP Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> <head profile="http://gmpg.org/xfn/11"> (Programming)

4
Problem with IFRAME scroller JSview story

http://www.codingforums.com Hello, i'm trying to post news on my site. so i was able to reached this http://www.shmtestforums.uphero.com/...ller/test.html but i couldn't get, exactly what i want. i really want is when load the page it should shows only 3 rows then after few seconds(say 2 seconds), the 1st row should disappear and bellow 3 rows should come up (eg. when google_1 row is disappear, google_2 & google_3 & google_4 rows should come up) this rotation should be continuous i tried this many. but no positive result. so please.... please....help me to solve this. this is the problematic java script, Code: <script type="text/javascript"> var scrollspeed=cache=1 (Programming)

4
[HELP] I need an image to goto two linksview story

http://www.codingforums.com when you lick it it will opn up a url in a window. then in 10 seconds it will open up another url in another window automaticaly. (Programming)

5
HELP on JS Arraysview story

http://www.codingforums.com First of all thank you for reading my thread and giving time to help me. Here goes my question: How to sort this array? MY PRIORITY COLORS array: ------------ green , yellow ALL COLORS array : <---- this will be your main array. ----------------------- pink , green , orange THE RESULTS: ( the results after you sort) ---------------- green , pink , orange I hope you could help me solve this javascript sorting problem. Thank you! (Programming)

3
function Array help - simple but complex to a noobview story

http://www.codingforums.com hi there i'm a newb so be nice lol --> I want to use javascript in an array to submit content. I have some php background so using some techniques I worked this out. >> I need to select bathroom details and the script needs to be user friendly, however I have multiple bathrooms that can be selected. So based on a drop down list I need to select the bathrooms needed and then I will get more options as stated below. These options will need to be submitted so I need different varibles for each item selected I expect that you'll have a better way to do it I just want it to work my HTML script LOOKED as follows (Programming)

6
How To 301 Redirect Wordpress Posts To New Link Structure Using .htaccess?view story

http://forums.digitalpoint.com Hello! there, I have a wordpress blog setup the following way using permalinks feature: http://www.mydomain.com/blog-post.html http://www.mydomain.com/blog-post-2.html http://www.mydomain.com/blog-post-3.html and I've now decided to add the following structure: http://www.mydomain.com/read/blog-post.html http://www.mydomain.com/read/blog-post-2.html http://www.mydomain.com/read/blog-post-3.html So how do I 301 redirect all the old links to new structure using htaccess? I've tried many methods while doing a research on Google but still haven't found the solution. So anyone here to help me with the problem? Thanks!! (Programming)

4
send email to mail serverview story

http://forums.digitalpoint.com My hosting allow to send 750 emails per hour. I have about 800 subscribers. By PHP I filtered the emails addresses and group them by mail server. Is it possible to send one email to mail server with its users. (Programming)