Photos Not View

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Photos Not View

    this is my code:

    Code:
      $photo = mysql_fetch_array(mysql_query("SELECT imageurl FROM ibwf_gallery WHERE uid='".$who."' ORDER BY RAND() "));
    
                  echo "<img src=\"$photo\" width=\"50\" height=\"60\" alt=\"photo[0]\"/>";
                  echo "[$ds]<a href=\"chat.php?action=say2&amp;sid=$sid&amp;who=$chat[0]&amp;rid=$rid&amp;rpw=$rpw\">$optlink</a> - ";
                  echo "".strtolower($tosay)."
    ";
    but photos not open....any1 can help me to fix this problem??
    if like my post click:

    http://coding-talk.com/images/totall...ost_thanks.gif

    #2
    what does ya imageurl consist of? where are the images saved. are the save in say images.

    so in wapdesire itl b in web case

    ../web/images/$photo ?

    try that
    Want something coded email me at sales@webnwaphost.com for a prices.




    Comment


      #3
      not open I have usergallery root into /web but not open...table ibwf_gallery not have the $who, but id,uid,imageurl,sex and time...
      if like my post click:

      http://coding-talk.com/images/totall...ost_thanks.gif

      Comment


        #4
        help
        if like my post click:

        http://coding-talk.com/images/totall...ost_thanks.gif

        Comment


          #5
          not open I have usergallery root into /web but not open...table ibwf_gallery not have the $who, but id,uid,imageurl,sex and time...[/b]

          $who is the same as uid

          <div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-space:pre;overflow:auto'>$who= $_GET["uid"];</div>

          just try your best luck!


          I salute sweetangel she got good ideas...

          s He has many ideas...
          Services

          Are you looking to take your wap or wapsite to a higher level? Do you want to stand out and rise above your competitors?

          Below is a list of services I offer:

          Wap Design and Customized Coding -The first way to stand out in a crowd is to have a brilliant and unique design for your wap or wapsite.

          Rates

          General consulting – My current hourly rate is $100 / hour.
          Custom Wapsite Community - My current rate is $500 / Wap Community Development.

          Comment


            #6
            this is why people make backups before editing scripts so if they ****up they can just restore the backup maybe you should try it sweetangel

            Comment


              #7
              I have at chat.php page

              $message =$_POST["message"];
              $who = $_POST["who"];

              but at gallery I have uid,id,imageurl,sex,time

              at my code:

              $photo = mysql_fetch_array(mysql_query("SELECT imageurl FROM ibwf_gallery WHERE uid=&#39;".$who."&#39; ORDER BY RAND() "));

              echo "<img src=\"$photo\" width=\"50\" height=\"60\" alt=\"photo[0]\"/>";
              echo "[$ds]<a href=\"chat.php?action=say2&amp;sid=$sid&amp;who=$ chat[0]&amp;rid=$rid&amp;rpw=$rpw\">$optlink</a> - ";
              echo "".strtolower($tosay)."
              ";

              this I think is correct...but not work...
              if like my post click:

              http://coding-talk.com/images/totall...ost_thanks.gif

              Comment


                #8
                I have at chat.php page

                $message =$_POST["message"];
                $who = $_POST["who"];

                but at gallery I have uid,id,imageurl,sex,time

                at my code:

                $photo = mysql_fetch_array(mysql_query("SELECT imageurl FROM ibwf_gallery WHERE uid=&#39;".$who."&#39; ORDER BY RAND() "));

                echo "<img src=\"$photo\" width=\"50\" height=\"60\" alt=\"photo[0]\"/>";
                echo "[$ds]<a href=\"chat.php?action=say2&amp;sid=$sid&amp;who=$ chat[0]&amp;rid=$rid&amp;rpw=$rpw\">$optlink</a> - ";
                echo "".strtolower($tosay)."
                ";

                this I think is correct...but not work...[/b]

                post here the sql of your gallery...
                and i will study it...

                then your chat page...

                i see you have trouble with that script almost 3 weeks ago...

                and i see you in different forums posting the same problem...


                may be i can help....you
                Services

                Are you looking to take your wap or wapsite to a higher level? Do you want to stand out and rise above your competitors?

                Below is a list of services I offer:

                Wap Design and Customized Coding -The first way to stand out in a crowd is to have a brilliant and unique design for your wap or wapsite.

                Rates

                General consulting – My current hourly rate is $100 / hour.
                Custom Wapsite Community - My current rate is $500 / Wap Community Development.

                Comment


                  #9
                  this is my sql 4 ibwf_gallery

                  Code:
                  CREATE TABLE `ibwf_gallery` (
                    `id` int(100) NOT NULL auto_increment,
                    `uid` int(100) NOT NULL default &#39;0&#39;,
                    `imageurl` varchar(100) NOT NULL default &#39;&#39;,
                    `sex` char(1) NOT NULL default &#39;&#39;,
                    `time` int(100) NOT NULL default &#39;0&#39;,
                    PRIMARY KEY  (`id`)
                  ) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=1407;
                  
                  INSERT INTO `ibwf_gallery` (`id`, `uid`, `imageurl`, `sex`, `time`) VALUES 
                  (1, 751, &#39;[url]http://myhost.com/web/usergallery/sweetangel.jpg&#39;[/url], &#39;F&#39;, 1213127337),
                  if like my post click:

                  http://coding-talk.com/images/totall...ost_thanks.gif

                  Comment


                    #10
                    Try This:

                    $photo = mysql_fetch_array(mysql_query("SELECT imageurl FROM ibwf_gallery WHERE uid=&#39;".$who."&#39; ORDER BY RAND() "));

                    echo "<img src=\"$photo[0]\" width=\"50\" height=\"60\" alt=\"$photo[0]\"/>";
                    echo "[$ds]<a href=\"chat.php?action=say2&sid=$sid&who=$chat[0]&rid=$rid&rpw=$rpw\">$optlink</a> - ";
                    echo "".strtolower($tosay)."
                    ";



                    Comment


                      #11
                      photos not view....
                      if like my post click:

                      http://coding-talk.com/images/totall...ost_thanks.gif

                      Comment


                        #12
                        check my post, check the changes in red

                        Comment


                          #13
                          I have replace my code with your but not work now... not show images...
                          if like my post click:

                          http://coding-talk.com/images/totall...ost_thanks.gif

                          Comment


                            #14
                            methos but why this code ??

                            $photo = mysql_fetch_array(mysql_query("SELECT imageurl FROM ibwf_gallery WHERE uid=&#39;".$who."&#39; ORDER BY RAND() "));

                            at my sql table not have who :?:
                            if like my post click:

                            http://coding-talk.com/images/totall...ost_thanks.gif

                            Comment


                              #15
                              methos but why this code ??

                              $photo = mysql_fetch_array(mysql_query("SELECT imageurl FROM ibwf_gallery WHERE uid=&#39;".$who."&#39; ORDER BY RAND() "));

                              at my sql table not have who :?:[/b]

                              then replace $who to $uid

                              $photo = mysql_fetch_array(mysql_query("SELECT imageurl FROM ibwf_gallery WHERE uid=&#39;".$uid."&#39; ORDER BY RAND() "));

                              this may work........
                              Services

                              Are you looking to take your wap or wapsite to a higher level? Do you want to stand out and rise above your competitors?

                              Below is a list of services I offer:

                              Wap Design and Customized Coding -The first way to stand out in a crowd is to have a brilliant and unique design for your wap or wapsite.

                              Rates

                              General consulting – My current hourly rate is $100 / hour.
                              Custom Wapsite Community - My current rate is $500 / Wap Community Development.

                              Comment

                              Working...
                              X