Jump to content

priti

Members
  • Posts

    461
  • Joined

  • Last visited

Posts posted by priti

  1. try this

     

      echo "<b>$username</b><br>    $state<br> <a href='$url'>View Profile</a><br><br>";

      header("Content-type:image/jpeg");

      <img src ="$imagelocation" width='100' height='100' border='0'/>

     

    Do let me know error if any error pops up

  2. make sure

     

    > query is correctly generated

    > query is returning correct output

     

    echo "

                    <b>$username</b><br> 

                    $state<br>

                    <a href='$url'>View Profile</a><br><br>

                                                                          // <------------echo $imagelocation here

                    ";

     

    in echo you are echoing image location ?????

     

    echo "$username-$state-$imagelocation"

     

    what does above line prints. Please make sure that your query returning correct data.

  3. HTTP Error 403 is an error message which means that you are not authorized to view the web page which you are attempting to load.

     

    check if you are trying to access password protect folder or some functionality which are of type "only authorized user can access it"

  4. you are receiving that error because allow_url_fopen is OFF in PHP configuration (php.ini) file.

     

    To understand php.ini  follow :http://www.slideshare.net/pritisolanki/understanding-phpini-presentation

     

    you can't do ini_set() to set this this is System level configuration value.

     

    I see you are trying to include <?php include("http://justinledelson.com/includes/sidebar.php");?>

     

    if http://justinledelson.com is same site you are working then I think you should do as follow

     

    <?php include("/includes/sidebar.php");?>

  5. what $abbreviation is showing ??? I amazed that you are not fetching data from $data array and you are not using this array to fetch the data. Can you print what is the output of print_r($data)???

     

    Refer :http://in2.php.net/manual/en/function.fgetcsv.php for more details

     

     

  6. I didn't understand but is following is your requirement

     

    link 1 :yahoo http://www.yahoo.com

    link 2:blog http://www.dummy.com

     

    submit button

     

    So when you change yahoo to gmail and link to www.gmail.com in database Link 1 sud get update to gmail-linkname and http://www.gmail.com as link (right)

     

     

    If above is the scenario then  i recommend you to use 'update button' in front of all link set i.e

     

    link1 yahoo link update link

    link2 gmail  link  update link

     

    so when you click update button this will identify which link set to get modify .i.e

     

    $url= "link=$row['linkname']&linkurl=$row['link']";

     

    <a href="samescript.name?$url"/>update</a>

     

    so when you click on update link it will hit the same  script and perform the update query

     

    if(isset($_GET['link']) && isset($_GET['linkname']))

    {

      query to update

    }

     

     

    I hope this may help. Let me know if  any issues you come across.

     

     

     

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.