Jump to content

Gregg

Members
  • Posts

    61
  • Joined

  • Last visited

    Never

Contact Methods

  • MSN
    itsjustgrergg4u@hotmail.com
  • Website URL
    http://darkwaterstudio.net/datingsite/index.php
  • Yahoo
    Gregg_McFarlane2000@yahoo.com

Profile Information

  • Gender
    Male
  • Location
    USA

Gregg's Achievements

Member

Member (2/5)

0

Reputation

  1. I am not sure what that has to do with mine, i am not to great at sql haha. I mean do i need to add anything to it like COUNT or GET to actually load the data inside it? I have no issue connecting to it thats all fine its getting the data i am stuck at...
  2. Ok, i created a new table in my database and i have built a form in php to submit to it and update sp on. But i cant seem to get the info from it. what i want to do is display it on my page under stats. Here is the new table: CREATE TABLE IF NOT EXISTS `se_donations` ( `active` int(1) NOT NULL default '1', `com_tokens` int(20) NOT NULL default '0', `com_donatids` int(20) NOT NULL default '0', PRIMARY KEY (`active`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `se_donations` -- INSERT INTO `se_donations` (`active`, `com_tokens`, `com_donatids`) VALUES (1,9044, 23); And in the .PHP file i have this code to get the info from it: ////// GET TOTAL DON ////// $total_tokens = $database->database_query("SELECT com_tokens FROM se_donations"); $smarty->assign('total_tokens', $total_tokens); ////// END ////// Just a heads up, the code is connecting but displaying ether a 1 or a name "resource id #37" not the value in the columm = 9044! More info: $database-> is the custom code that store my connect data: pass id db name so on... $smarty-> is part of my smarty .php that allows the code to run and print on the pages... BALANCE: {$total_tokens} is how i call it on my .tpl pages. Now my question is, how do i get it to call the data 9044 not the id or row count?? I cant seem to get it to call the info beside the id row count or resource name... arg lol ???
  3. Ok, i finial got my cam pages open and working on a URL to cam basis. But i was wondering how to set it for direct linking to the cam? I would need a "Go Live" download and have it link to the pages but how?? See my cam site here: [url=http://darkwaterstudio.net/datingsite/CamPortal/index.php]http://darkwaterstudio.net/datingsite/CamPortal/index.php[/url] Any help would be great, or thoughts on how tomake it work..
  4. Hahah, your right it dident work still loaded the code just not the images... Do you know how to make [b]PHP[/b] load a cam?
  5. I will try it as soon as i get it on the page,only one needed for me. Or i need to find away to post the web cam in a safer way. I used html as a loader cause i never did it befor and its a pain to find a load cam script for free lol.
  6. I found it, and i am not worried about my php but other sensitive info. I just dont want my streaming info loaded on there home pc... The code i found uses a hidden page as the "save as" page lol. So when they save any of my pages it will download a BLANK page saying NO HACKERS ALLOWED!
  7. Haha,i thought the same thing but came up empty handed. I searched javascript todeath, i'll try a diffrent search EN
  8. Ok, i want to know how i would go about making it sowhen a user trys to, "Save Page As" it will block it? I have seen this done of at least 4 diffrent sites but am stumped on how they did it. I was thinking they did it with php cause it dont show in the source... Or at least make an alternate "Page" for saving.
  9. You did it kid... Worked like a charm! [quote]That's right... who's laughing now... who's laughing *now*?[/quote]
  10. Ok, i am trying to make it so if a user isent logged in the image will show thecensored version. I have 2 foldes for the photos, "One unedited" & "One Censored" but i keeps loading "THE IMAGE CODE"  and errors? [code]<?if($UsErCoOkIe)   include("Users3Rate/Gerard.gif"); else include("Users3Censored/Gerard.gif");?>[/code] Theni heard you cant use that function on images? Anyone got and an ideah how to fix this or why it keeps loading the image code and not the image!
  11. Are you refering to the "Tracker php" or somthing else? Give me the exact page and i will look ok. Because they have about 6 diffrent php running on there that i see.
  12. Thanks, worked great.  :D
  13. Ok, here is a question i havent figured out in a while. How do i display the load time of the curent "Page", like: [b][color=red]It Took 4.9 Seconds To Load Results.[/color][/b] I remember doing it years back but i dont want it in js but php. ???
  14. Thanks "Barand" worked great! And sorry i posted this kind of confusing i was on the way out so needed to save it befor i left lol.. I needed the right code to get all of the genders and the one posted worked when i inter graded it into the head code so thanks. :D
  15. Ok, the feild i am trying to pull the info from has serveral values. It's on my results page, and it shows all the users matching there discription.. (0) (1) Male (2) Female (3) Couple (4) Group (5) Couple FF (6) Couple MM And i can get it to work using this but it wont pull all the values. [code]<? if($rowuser["genderid"]%2==0) echo Female;   else echo Male; ?>[/code]
×
×
  • 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.