Page 2 of 9 FirstFirst 12345 ... LastLast
Results 13 to 24 of 98

Thread: PHP MySQL Class-9

  1. #13
    shakeel's Avatar
    shakeel is offline Senior Member+
    Last Online
    22nd July 2016 @ 07:02 PM
    Join Date
    04 Sep 2006
    Location
    Islamabad
    Posts
    177
    Threads
    30
    Credits
    992
    Thanked
    3

    Default

    Quote deemi said: View Post
    aoa kya haal hai shakeel bhai aap ka app ky thread sy madad to kafi hoo rahi hai mger mujhy aik problem hai or woh yeh k main jub bhi dreamweaver mian php ka code likh ker .PHP ky sath save kerta hoon ya .HTML k sath save kerta hoon woh mujhy php ka result nhi deta main nay aap ki classes say bhi code dykh ker likha mager mushkil asaan nhi hoo rahi so plzzzz shakeel bhai meri madad keryn main bohat paryshan hoon.
    Thanks deemi
    sub say pehlay to main app say guzarash karoon ga kay class-2 ko study karain. Agar app nay XAMPP properly install kia hay to pehlay is baat ka yaqeen kar lain ka Apache web server run ho raha hay kay nahi. jo kay app XAMPP kay control panel say maloom kar saktay hain. us kay baad php file ko app nay C:\XAMPP\htdocs kay folder main save karna hay agar app nay C:\ per installation ke ho. yad rahay kay PHP kay page ko hamesha .php say save karna hay na kay .html say. us kay baad app nay us file per double click kar kay open nahi karna balke browser main is tarah address lekhna hay: http://localhost/yourpage.php . agar app kay pass Apache server start nahi hota to check kar lain kay port 80 per koee or service run to nahi ho rahi jasay kay IIS. asee sorat main app nay us service ka band karna hay or Apache ko dobara start karna hay.


    In rain all birds occupy shelter, but Eagle is the only 1 that avoids rain by flying above the clouds.



  2. #14
    A.A.Yasir's Avatar
    A.A.Yasir is offline Senior Member+
    Last Online
    17th December 2010 @ 05:18 PM
    Join Date
    27 Oct 2007
    Posts
    1,777
    Threads
    159
    Credits
    945
    Thanked
    3

    Default

    Hazooor aaj say aaapp meray Peer-o-Murshid hain
    Jis Din say Challa Hoon, Meri Manzil pe Nazar hay

  3. #15
    Join Date
    17 Aug 2007
    Location
    Charsadda, Pakistan
    Age
    37
    Gender
    Male
    Posts
    1,609
    Threads
    51
    Credits
    1,311
    Thanked
    9

    Default

    ===================
    Question 1 ke Solution
    ===================

    a) OUT PUT 50 he hoga Q $number function k baher hai aur out put bhe wahe print out hoga screen par jo $number k value hai i mean 50.

    b) OUT PUT 500 hoga Q K global statement use hoie hai aur Global statment funtion sy baher $number ko call karty osko 10k sath Multifly karta hai U result 500 hojata hai.

    c) OUT PUT 50 Q K $number k value tu $n ko assign hojaiege magar screen par $n nahi belky function k bad $number joky function say baher wahe value assign hoge...

    Please Shakeel bro comment zroor deen ye mai ny check nahi k hai apny demaagh k zoor par answer deen hai hosakta hai wrong hoon
    Death is not the biggest Loss in life.
    The biggest loss is when relationships die among us when we are alive!!
    (Shakespeare)

  4. #16
    Join Date
    17 Aug 2007
    Location
    Charsadda, Pakistan
    Age
    37
    Gender
    Male
    Posts
    1,609
    Threads
    51
    Credits
    1,311
    Thanked
    9

    Default


    ====================
    Questoin No 2 ka hal
    ====================

    Shakeel bhai ZAKAAT CALCULATOR kuch u banaya hai aap zara s par nazar sane kareen please.

    PHP Code:
    <html>
    <head>
    <title> PHP MySQL Class 9 Tutorial's Workshop ( I T M a h a l . c o . c c ) </title>
    </head>
    <body>
    <CENTER><u><font color=green size =7> <i>Zakat Calculator</font> <b>by LoveRahiPlus</b></i></font></u></CENTER>
    <hr />
    <br /><br />
        <?php
              
    if($_POST['amount']) {
        function 
    CalculateZakat()    {
            
    $amount $_POST['amounts'];
            
    $ZakatRatio 2.5;   //Amount of Zakaat that is payable on per 100 rupees.
            
    $calculate =$amount 2.5/100;  // Calculate the amount of Zakat that will be payable on given amount of money.

        //Know in last print out the data calculated. I've used some colored out put.
            
    echo "Entered amount is: <b>Rs. <font color=red size = 4>"$amount."</font></b> rupees<br />
            Zakat Ratio is <b>Rs. <font color=green size=5>" 
    .$ZakatRatio ."</font></b> per 100 rupees.<br /> 
            Total payable Zakat is : <b>Rs. <font color=red size = 6>" 
    $calculate ."</font></b> rupees.<br />";        
        } 
        
    CalculateZakat();
               }
         
    ?>

    <hr />

    <form action="php-class9.php" method='POST'>
    <b>Type Amount (of Money) to calculte Zakat on that:</b>
    <input type="text" name='amounts' value ="100" /><BR /><BR />
    <input type="hidden" name ="amount" value ="true" />
    <center><input type="reset" value ="Reset" />
    <input type="Submit" value ="Calculate" /></center>
    </form>
    <hr />

    </body>
    </html>
    S baar koshesh k hai todre bahot comment bhe de hai.

    NOTE:- Baqe 2 Question mai todra atka howa hoon i mean table banany mai wo coding tu k hai par....

  5. #17
    shakeel's Avatar
    shakeel is offline Senior Member+
    Last Online
    22nd July 2016 @ 07:02 PM
    Join Date
    04 Sep 2006
    Location
    Islamabad
    Posts
    177
    Threads
    30
    Credits
    992
    Thanked
    3

    Default

    loverahiplus .... Excellent ... Good work.. app nay aik bar pher buhat hi zabardat tariqay say program banaya hay or agar isee tarah app koshish or practice kartay rahay to buhat kum arsay main app achay developer ban jain gay.

    Thanks

  6. #18
    Join Date
    09 Jan 2008
    Location
    Karachi
    Gender
    Male
    Posts
    698
    Threads
    50
    Credits
    891
    Thanked
    0

    Default

    Quote loverahiplus said: View Post

    ====================
    Questoin No 2 ka hal
    ====================

    Shakeel bhai ZAKAAT CALCULATOR kuch u banaya hai aap zara s par nazar sane kareen please.

    PHP Code:
    <html>
    <head>
    <title> PHP MySQL Class 9 Tutorial's Workshop ( I T M a h a l . c o . c c ) </title>
    </head>
    <body>
    <CENTER><u><font color=green size =7> <i>Zakat Calculator</font> <b>by LoveRahiPlus</b></i></font></u></CENTER>
    <hr />
    <br /><br />
        <?php
              
    if($_POST['amount']) {
        function 
    CalculateZakat()    {
            
    $amount $_POST['amounts'];
            
    $ZakatRatio 2.5;   //Amount of Zakaat that is payable on per 100 rupees.
            
    $calculate =$amount 2.5/100;  // Calculate the amount of Zakat that will be payable on given amount of money.

        //Know in last print out the data calculated. I've used some colored out put.
            
    echo "Entered amount is: <b>Rs. <font color=red size = 4>"$amount."</font></b> rupees<br />
            Zakat Ratio is <b>Rs. <font color=green size=5>" 
    .$ZakatRatio ."</font></b> per 100 rupees.<br /> 
            Total payable Zakat is : <b>Rs. <font color=red size = 6>" 
    $calculate ."</font></b> rupees.<br />";        
        } 
        
    CalculateZakat();
               }
         
    ?>

    <hr />

    <form action="php-class9.php" method='POST'>
    <b>Type Amount (of Money) to calculte Zakat on that:</b>
    <input type="text" name='amounts' value ="100" /><BR /><BR />
    <input type="hidden" name ="amount" value ="true" />
    <center><input type="reset" value ="Reset" />
    <input type="Submit" value ="Calculate" /></center>
    </form>
    <hr />

    </body>
    </html>
    S baar koshesh k hai todre bahot comment bhe de hai.

    NOTE:- Baqe 2 Question mai todra atka howa hoon i mean table banany mai wo coding tu k hai par....
    App ne bohut acchi application banai hai

  7. #19
    hiwasiji is offline Member
    Last Online
    25th November 2010 @ 09:02 AM
    Join Date
    14 Jan 2009
    Location
    Rawalpindi
    Posts
    52
    Threads
    8
    Thanked
    7

    Default Thanks


    thanks Shakeels ji, you are going very well. kya es course ki tori speed nahi barha saktay, i mean course complete karnay mai 2 saal lag jaen gay, take care, best wishes for you.

  8. #20
    deemi is offline Senior Member+
    Last Online
    25th June 2014 @ 12:09 PM
    Join Date
    16 Sep 2008
    Location
    Gujranwala
    Age
    41
    Posts
    375
    Threads
    68
    Credits
    980
    Thanked
    49

    Unhappy Same Work I Do

    aoa
    Shakeel bhai jesa aap nay uper likha hai main nay waisa he kia hai mer APACHE bhi theek instaal kia hai us ki setting bhi theek hai. mian php ka kam .PHP main he save kia hai us main HTML ka kam nazar aa jata hai mager PHP ka result show nhi hota main nay XAMPP k ilawa bhi try kia hai mager kuch nhi hoa. jahan tak LEC 2 ka taluq hai main nay 4 tak tamam k tamam thekk tareeqy say parhy hain. Aik masla yeh bhi hai k jub main .HTML k sath SAVE kerta hoon tab file ka logo browser ki shakal ka hoo jata hai mager jub mian us ko .PHP k sath save kerta hoon tab sirf Dream Weaver ki he file banti hai. main nay PHP Designer say bhi check kia hai mager result PHP ka nhi ata.



    plz shakeel bhai main PHP DIL say sikhna chahta hoon meri madad zaroor karyn

  9. #21
    shakeel's Avatar
    shakeel is offline Senior Member+
    Last Online
    22nd July 2016 @ 07:02 PM
    Join Date
    04 Sep 2006
    Location
    Islamabad
    Posts
    177
    Threads
    30
    Credits
    992
    Thanked
    3

    Default

    Quote deemi said: View Post
    aoa
    Shakeel bhai jesa aap nay uper likha hai main nay waisa he kia hai mer APACHE bhi theek instaal kia hai us ki setting bhi theek hai. mian php ka kam .PHP main he save kia hai us main HTML ka kam nazar aa jata hai mager PHP ka result show nhi hota main nay XAMPP k ilawa bhi try kia hai mager kuch nhi hoa. jahan tak LEC 2 ka taluq hai main nay 4 tak tamam k tamam thekk tareeqy say parhy hain. Aik masla yeh bhi hai k jub main .HTML k sath SAVE kerta hoon tab file ka logo browser ki shakal ka hoo jata hai mager jub mian us ko .PHP k sath save kerta hoon tab sirf Dream Weaver ki he file banti hai. main nay PHP Designer say bhi check kia hai mager result PHP ka nhi ata.
    jis tarah main nay opper bataya hay, app wasay hi kar rahay hain or app kay pass XAMPP install be hay or Apache bhi run ho raha hay, app nay apna page XAMPP -> htdocs kay folder main save kia hay or browser main uska address lekhtay hain http://localhost/yourpagename.php, is kay bawajood bhi agar wo run nahi hota (jo kay hona chaheea) to pher hoskta hay kay app kay system main koee or masla ho. app apnee windows refresh kar kay dobara koshish karain.(windows XP install karain)

  10. #22
    shakeel's Avatar
    shakeel is offline Senior Member+
    Last Online
    22nd July 2016 @ 07:02 PM
    Join Date
    04 Sep 2006
    Location
    Islamabad
    Posts
    177
    Threads
    30
    Credits
    992
    Thanked
    3

    Default

    Quote hiwasiji said: View Post

    thanks Shakeels ji, you are going very well. kya es course ki tori speed nahi barha saktay, i mean course complete karnay mai 2 saal lag jaen gay, take care, best wishes for you.
    Thanks....
    sorry kay main thora slow ja raha hoon.alsal main maray bhi thoray say maslay masael hain sath sath un ko bhi handle karna parta hay. miri koshish hotee hay kay aik topic ko achay andaz say paish kar sakoon na kay jaan choraoon is leay class lekhnay main thora time lagta hay.
    ha ha ha... 2 saal to nahi lagain gay. main koshish karon ga kay is course ko 2 months main complete kar doon.

  11. #23
    Join Date
    17 Aug 2007
    Location
    Charsadda, Pakistan
    Age
    37
    Gender
    Male
    Posts
    1,609
    Threads
    51
    Credits
    1,311
    Thanked
    9

    Default

    Quote shakeel said: View Post
    loverahiplus .... Excellent ... Good work.. app nay aik bar pher buhat hi zabardat tariqay say program banaya hay or agar isee tarah app koshish or practice kartay rahay to buhat kum arsay main app achay developer ban jain gay.

    Thanks
    Shakeel bhaie Aap ke Pazeeraie ka bahot shukria...apny Quesiton No 1 k bary mai nahi bataya k aaya ye Answer jo mai ny post kie thy theek thy k nahi?

  12. #24
    Join Date
    17 Aug 2007
    Location
    Charsadda, Pakistan
    Age
    37
    Gender
    Male
    Posts
    1,609
    Threads
    51
    Credits
    1,311
    Thanked
    9

    Thumbs up

    Quote Dreamweaver said: View Post
    App ne bohut acchi application banai hai
    Thanks mate that you did liked it....

Page 2 of 9 FirstFirst 12345 ... LastLast

Similar Threads

  1. PHP MySQL Class-7
    By shakeel in forum PHP MySQL
    Replies: 97
    Last Post: 18th August 2016, 01:02 PM
  2. PHP MySQL Class-12
    By shakeel in forum PHP MySQL
    Replies: 60
    Last Post: 10th August 2016, 11:48 AM
  3. PHP MySQL Class-18
    By shakeel in forum PHP MySQL
    Replies: 71
    Last Post: 9th April 2016, 04:07 PM
  4. PHP MySQL Class-20
    By shakeel in forum PHP MySQL
    Replies: 83
    Last Post: 28th August 2015, 05:25 PM
  5. MySql first class
    By aajizUsmani in forum Courses
    Replies: 4
    Last Post: 23rd March 2014, 02:13 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •