User Profile

Collapse

Profile Sidebar

Collapse
sahilansari
sahilansari
Last Activity: May 4 '10, 05:27 AM
Joined: Mar 25 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • sahilansari
    started a topic Dynamic Menus Using Javascript,PHP

    Dynamic Menus Using Javascript,PHP

    My Code Works Fine.....What i want to do is to read some where this new menu(.....) & stuff within it works.Like some book or some article on the web.

    Or better still any one of you can explain this to me..the part highlighted in bold.
    Part1

    Code:
    menus[0] = new menu(22, "horizontal", 2, 101, -1, 1, "#34B0B0", "#A8E5E6", "Verdana,Helvetica", 9, 
    		"bold", "bold",
    ...
    See more | Go to post
    Last edited by Dormilich; Apr 30 '10, 10:29 AM. Reason: Please use [code] tags when posting code

  • City State or Country State from Database in select.....

    I have a table in MYSQL database...

    With Country & it's corresponding States.

    Say i select US from the dropdown option it should automatically show all the states in US from a database file.

    I have seen some code examples on the net which do give a solution to the above problem but you have to manually enter all the countries & their states in the code itself.(using javascript)

    ...
    See more | Go to post

  • Based on Particular Radio Button Selection Hide/Unhide Textboxes,Labels etc.

    I have two Radio buttons. radio_date & radio _reg.

    Initially radio_date is checked by default.(On form load)....So i want to display two textboxes & related labels.All this data is in a table.As shown below.

    Code:
          <tr  > 
    	    <td >Date From   
    
             <input  type="text" name="date_from" id="date_from" value="<?php if($_POST['date_from']
    ...
    See more | Go to post
    Last edited by Dormilich; Mar 29 '10, 10:04 AM. Reason: Please use [code] tags when posting code

  • sahilansari
    replied to Iterating through two MYSQL Tables
    in PHP
    well i got the solution to the problem......

    Just before the while loop starts $execute_query= mysql_query($qu ery);

    What actually happens,fist time while loop runs perfectly.On second run of for loop ...we don't eneter the while loop again.This is because after the first iteration of While Loop ...the pointer is at the end of the query value ie ==NULL.

    So if within for loop we excute the query ...there will be...
    See more | Go to post

    Leave a comment:


  • sahilansari
    started a topic Iterating through two MYSQL Tables
    in PHP

    Iterating through two MYSQL Tables

    Table1

    Bill
    billno
    P001
    P002


    Table2
    Patient
    Patno service amount
    P001 s1 100
    P002 zz 200
    P001 s2 400


    .......
    See more | Go to post
    Last edited by Dormilich; Mar 25 '10, 11:53 AM. Reason: Please use [code] tags when posting code
No activity results to display
Show More
Working...