Pics

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Pics

    hello does any 1 know how to make it so that a pic in a gallery of some 1 goes into they profile as an image like a logo ( not a clicky button that goes to pic ) i tried myself but dono how i only came up with
    ?>





    <?php


    but with no luck any help be good thanks

    #2
    when they upload the pic to the gallery add the link into the database and in the profile select the profile picture link and use the img src code and the link from the database then its done.

    Comment


      #3
      but in profile.php drugs if i put say the link of my pic then every 1 online will have my pic in profile wont they m8 not individual

      Comment


        #4
        no u code it to $name2 not $username
        Want something coded email me at sales@webnwaphost.com for a prices.




        Comment


          #5
          could u put the bit of coding up brum

          Comment


            #6
            but in profile.php drugs if i put say the link of my pic then every 1 online will have my pic in profile wont they m8 not individual[/b]
            No, you do something lie BcFc Said..

            Code:
            $showpic = (SELECT piclink FROM profile WHERE username = "name2")
            Do something like that then just show the pic
            Code:
            echo "<img src=\"$showpic"/>";
            and then the picture should show.

            you will need to code the gallery so the picture link goes in

            Comment


              #7
              and i wouldnt really bother with the SP script because php 4 ends at the end of the year

              Comment


                #8
                Code:
                 $sqlthing = mysql_query("SELECT * FROM members WHERE username=&#39;$name&#39;);
                $name2=$name;
                
                a thnk thats is it cant remember top of me head 
                
                $picture=(mysql_result($sqlthing,"picture"));
                Want something coded email me at sales@webnwaphost.com for a prices.




                Comment


                  #9
                  wer yu read that drugs, cos u can stil use it depends what serber u on
                  Want something coded email me at sales@webnwaphost.com for a prices.




                  Comment


                    #10
                    wer yu read that drugs, cos u can stil use it depends what serber u on[/b]
                    cpanel are not going to support php 4..

                    its on the cpanel web site mate

                    Comment


                      #11
                      yeh but the lastest version will so it jus depends what host ur thingy with and dont mata for rus he ent with them
                      Want something coded email me at sales@webnwaphost.com for a prices.




                      Comment


                        #12
                        wer yu read that drugs, cos u can stil use it depends what serber u on[/b]


                        well if true looks like all sites i got r gone lol but cant i just use mysql 5 database cos atm got option for 4 or 5

                        Comment


                          #13
                          cpanel are not going to support php 4..

                          its on the cpanel web site mate [/b]

                          im helm not cpanel drugs

                          Comment


                            #14
                            Code:
                             $sqlthing = mysql_query("SELECT * FROM members WHERE username=&#39;$name&#39;);
                            $name2=$name;
                            
                            a thnk thats is it cant remember top of me head 
                            
                            $picture=(mysql_result($sqlthing,"picture"));
                            [/b]


                            cheers brum i give it a go in bit

                            Comment


                              #15
                              plus is the company cpanel x hu r not doing it wont affect host hu have a licence for it
                              Want something coded email me at sales@webnwaphost.com for a prices.




                              Comment

                              Working...
                              X