Search:

Type: Posts; User: Austinwhite

Search: Search took 0.01 seconds.

  1. http://php.flashwebhost.com/austin/day10.php ...

    http://php.flashwebhost.com/austin/day10.php

    <?php
    if(isset($_COOKIE['name'])) {
    echo 'Hello '.$_COOKIE['name'].' welcome to my world';
    exit; }
    if (isset($_POST['name'])) {
    ...
  2. there is something wrong with the cookie thing....

    there is something wrong with the cookie thing.
    i read about it and understood it should be first thing to do in a code.
    is there something like that?

    if why is it like that? why cant we print...
  3. http://php.flashwebhost.com/austin/day9.php ...

    http://php.flashwebhost.com/austin/day9.php


    <html>
    <body>
    <?php
    if(isset($_POST['secretNumber'])) {
    $secretNumber = $_POST['secretNumber']; }
    else {
    $secretNumber = rand(10,100); }
  4. so in this code the value of the secret number is...

    so in this code the value of the secret number is echoed where??

    i mean... this code is the one to print the value of SecretNumber so does it print the value in the server memory or something? :P
  5. <input type="hidden" name="secretNumber" value="<?php echo $secretNumber; ?>">

    In this code whats
    value="<?php echo $secretNumber; ?> does?
  6. what does this code do?

    what does this code do?

    <input type="hidden" name="secretNumber" value="<?php echo $secretNumber; ?>">

    and i didnt understand how this works.

    and also why is the action left blank? shouldnt...
  7. Ohh... i thought name too is a variable. like...

    Ohh... i thought name too is a variable.
    like the name was a temp variable for input and then it is stored to another variable.

    Got the mistake. thx
  8. This one working.... i copy pasted that input...

    This one working.... i copy pasted that input codes and the $_GET code.
    still help me find the error in the previous code

    php.flashwebhost.com/austin/day7exp.php

    <?php

    if...
  9. http://php.flashwebhost.com/austin/day7.php I...

    http://php.flashwebhost.com/austin/day7.php

    I need help with this code!!!
    mine not working properly

    <?php
    if(isset($_GET['name'])){
    echo 'i got the name';
    echo 'Hi '.$_GET['name'].' Whats...
  10. http://php.flashwebhost.com/austin/array2.php ...

    http://php.flashwebhost.com/austin/array2.php


    <?php
    $stnds = array();
    $std1 = array();
    $std1['name'] = 'CHRIS';
    $std1['age'] = 9;
    $std1['mark'] = 87;
    $std1['place'] = 'ARTHUNKAL';
  11. php.flashwebhost.com/austin/array.php ...

    php.flashwebhost.com/austin/array.php



    <?php
    $ar= array('christmas','holy','onam','easter');
    $ar[1] = 'whale';
    $ar[]= 'kills';
    foreach($ar as $a ){
    echo $a. '<br>';
  12. http://php.flashwebhost.com/austin/day4.php ...

    http://php.flashwebhost.com/austin/day4.php



    <?php$animal = 'tiger';
    $color = 'green';


    if($animal == 'frog'){
    if($color=='green'){
  13. = and ==

    i used ur code and found no error even when i used == in line 3.

    and
    if ($day="Sunday") is a wrong code. bez in this you are give $day the value "Sunday",and in this case the if-statement will...
  14. Stefin thats a great job for a beginner. You...

    Stefin thats a great job for a beginner. You really got some talent!
    And you are learning real fast. Never miss a chapter. and google php to learn extra!
  15. View Post

    <?php$company='bizhat';
    $sent=' HEY buddy how are you doing';
    echo 'hey '.ucwords($company.' is cooler ').strtolower('THAN ANYTHING.').strtolower(str_replace('buddy', 'man', $sent));
    echo...
  16. View Post

    <?php
    $company='bizhat';
    $sent=' HEY buddy how are you doing';
    echo 'hey '.ucwords($company.' is cooler THAN ANYTHING.'). strtolower(str_replace('buddy', 'man', $sent));

    echo...
  17. code correction

    In this code ?> is not necessary. ?> is used only when php is used in between other language codes.
  18. 1 doubt

    <?php

    $name= 'crazyfrog';
    $action = ' is coming to town.';
    $n1 = 8;
    $n2=9;

    echo $name.$action;
    echo '<br>';
    echo '8 + 9 = ' . ($n1+$n2);
  19. suggestions

    your code is working and error free. I also got a suggestion that it could be reduced too.
    i have modified your code in here:


    <?php


    $staffName = 'Ramesh';
    $companyName = 'HOSTONNET';
  20. Use a concat operator after $companyname and also...

    Use a concat operator after $companyname and also put the <br> in quotes ($companyname.'<br>'; )


    <?php$companyname = 'Relience';
    echo $companyname.'<br>';
    $companyname = 'Whirpool';
    echo...
  21. View Post

    <?php

    echo 'Ranan\'s new production - Andhar Nogori Choupot Raja';
Results 1 to 21 of 21