Jump to content

Tunacha

Members
  • Posts

    16
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Tunacha's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Well what im trying to do is grab a random page title on refresh of the page, and so far what i have is public function getTitle() { $rset = $this->mysql->select('slogan',"titles","","RAND()","1"); while ($r=mysql_fetch_array($rset)){ echo $r['slogan']; } } But i cant figure out why it isnt grabbing a random value oin page refresh, it just keeps grabbing the same one, could anyone explain what im doing wrong?
  2. Okay so here is what im trying to do. im trying to create a hph script that does the following things -Uploads a swf file to a directory(need help) -Creates a link for that swf file, (linking to a page that shows the swf file) need help withthis part) -Stores Some user submited information in a database along with created link -Pulls the user submited info into a list aswell as createdlink So far ive done the list and made the database but while trying to create the upload script i am running into some problems It is telling me there is a error on the last line of code but there is nothing on that line This is the upload script coding that i have tried to make i have put it in a pastebin because it is much to big to fit here, Also if someone coud help me with the link generating and page creation that would be great PASTEBIN LINK http://pastebin.com/m5656e7be
  3. Alright well the code i have has a problem were the left and right images go up past the top corners, it is rounded cornes mind you so i edited the corners to havew a wite background but i ondt want to have to edit them i would like it so the sides dont go up past them Here is the code <style> body { margin:200px auto; color:#FFF; background:url url(images/bg.gif) font-family:verdana; font-size:12px; width:400px; } .content-fluid { background:url(./images/core/content-bg.gif); width:400px; } .content-body { padding:10px; } .content-tl { background:url(./images/top-left-corner.gif) top left no-repeat; padding:10px; } .content-tr { background:url(./images/top-right-corner.gif) top right no-repeat; } .content-bl { background:url(./images/bottom-left-corner.gif) bottom left no-repeat; } .content-br { background:url(./images/bottom-right-corner.gif) bottom right no-repeat; } .content-l { background:url(./images/left-side.gif) left repeat-y; } .content-r { background:url(./images/right-side.gif) right repeat-y; } .content-b { background:url(./images/bottom.gif) bottom repeat-x; } .content-t { background:url(./images/top.gif) top repeat-x; } .style1 {background: url(./images/core/content-bg.gif); width: 400px; color: #FF6600; } </style> <div class="style1"> <div class="content-l"> <div class="content-r"> <div class="content-b"> <div class="content-t"> <div class="content-tr"> <div class="content-bl"> <div class="content-br"> <div class="content-tl"> <div class="content-body"> Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</div> </div> </div> </div> </div> </div> </div> </div> </div> </div>
  4. so im guessing noone can help me with this
  5. Hello, I was wondering if anyont could help me turn the images ive sliced up with photoshop into a expandable content box using css? Any help would be apreciated ive tried a few tutorials but they dont seem to work proerly for me because its a rounded edge content box
  6. Are you able to understnd it more now?
  7. K hopefully this describes it better radio.php Has my header and footer and a php script to check if a shoutcast server is online. If that server is online i want online.php to show up between the headder and footer. If the server is not online i want it to show a Off Air image between the header and footer Basicaly how would i go about doing this seeing as the script i have obviously dosent work
  8. everythings sorking it just isnt showing online.php wi it show it right were the imnclude statment is or in a defined place?
  9. Well here is the statement i have if($sock_init != 'FALSE'){ if($dsp_connected == '1'){ include (online.php); } } } } What i want to do is have the online.php Show on the same page this if statement is on if dsp_connected = 1 what would i use to do this
  10. Ok so how would i make it show the online.php page right there because obvioulsy include isnt the way
  11. Its still saying there is a error on the last line, Dose anyone know of a way to fix it or simplify the code, all i want it to do is check if a shoutcas6t server is online and if it is Go to the next page in the same window
  12. Nope that didnt do it just moved the error to the new last line
  13. line 88 is very bottom But even if i take it out of the table the Number in the error changes to the last lines number
×
×
  • 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.