SHARE
TWEET

Untitled




Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- class photos
- {
- var $pid;
- function showactivitypics(){
- $sql = mysql_query("SELECT * FROM activity ");
- while ($row = mysql_fetch_array($sql)) {
- $picid= $row['picid'];
- $this->pid=$picid;
- }
- }
- function picname(){
- echo $this->pid;
- }
- }
- $photo=new photos();
- <?php $photo->picname(); ?>
- <?php $photo->pid; ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy.