Jump to content

rallokkcaz

Members
  • Posts

    194
  • Joined

  • Last visited

    Never

Everything posted by rallokkcaz

  1. what exactly is FFD? and i have one more question what would the code look like?
  2. i wanna try to make a movie system where i can upload my videos but i don't have to make a new page each time i make an new i would want the URL to look like video.php?id=1 does anyone know how to do that?? thanks
  3. ive noticed that in alot of JS i see the variable "i" used alot is that needed? or do people just use that for the simplicity?
  4. dude your missing a ; that may be the problem and you've got an extra repeat-x in ther too so the code would go like this div#lineacross { background:url('http://www.runnerselite.com/images/background123.jpg'); background-repeat:repeat-x; } notice the new ; after repeat-x;
  5. here is the link to the site page im working on http://www.getmetola.com/ there is some text called test that is the content div i wanna make it go in the center of the page too fit with the 2 other divs here is the code for #content in my CSS file #content { width:600px; height:400px; } these measurements are already there but idk what i would do to move it into the center of the page without absolute placement any ideas?
  6. i figured it out thanks to CSS! thanks tho guys!!
  7. im gonna take your code and edit it so it fits to what i need and sorry for the confusing i didn't mean link i meant like a ,li, or tr
  8. i stated what i said wrong i want the like a table to changle color not a link sorry for the confusion
  9. i wanna try to make a link that when the mouse is over it, it is white, and when there is no mouse over it, its a light grey. would the code go something like this ? function rollonoff() { if (mouseon) { document.getElementById(a).style.color="#000000" } else if (mouseoff) { document.getElementById(a).style.color="#030303" } i know thats probly wrong as hell but u see my point
  10. i found a good one Thick Box was exactly what i was looking for thanks guys!!
  11. there is actually and even easier way to do it with out all the javascript here is the code <input id="name" type="text" name="name" maxlength="20"> its not complicated at all and there can be no possibility that it will go over the limit
  12. im a complete noob at JS and ive always wanted to do this like when u click on the watch video button on this page http://www.smosh.com/videos/view.php?id=haircut and it opens up a window inside another window and creates the rest of the page under it to be darker does anyone have anyidea how to do that??
  13. ok here's what i need here are the rows in my mysql table user password about fullname email can someone build a form for that thanks it doesn't need to be complete i'll finish it
  14. i give up!!  >:( ive been trying at this for 2 weeks now :'( im done
  15. ok i need a edit profile script what gets the users info just from where hes logged in so if user1 went to edit profile whent to edit his profile it would show only his info and if user2 click on that link it would take it to his info not user1's here's the code i use now. [code]<?php     $id = $_GET['id'];     $sql = "SELECT * FROM maaking_users WHERE userid='$id'";     $result = @mysql_query($sql) or die(mysql_error());     $user = mysql_fetch_assoc($result);     echo <<<HTMLFORM <form action="{$_SERVER['PHP_SELF']}" method="post"> <table  cellpadding="2" cellspacing="1" width="400">   <tr>     <td wdith="35%">Username:</td>     <td>{$user['username']}</td>   </tr>    <tr>     <td>Full Name:</td>     <td><input type="text" name="fullname" value="{$user['fullname']}" /></td>   </tr><tr>     <td>Password</td>     <td> New Password: <input type="password" name="password" value="$password" /></td>   </tr> <tr>     <td>About Me:</td>     <td><textarea height="200px" width="300px" input type="text/html"  name="about" value="" />{$user['about']}</textarea></td>   </tr><tr   <tr>     <td>Email Address:</td>     <td><input type="text" name="email" value="{$user['email']}" /></td>   </tr>   <tr>     <td colspan="2">       <input type="hidden" name="userid" value="{$user['userid']}" />       <input type="submit" name="update" value="Update Profile">     </td>   </tr> </table> </form> HTMLFORM; } elseif(isset($_POST['update'])) {     foreach($_POST as $field_name => $field_value)     {         ${$field_name} = mysql_real_escape_string($field_value);     }     $sql = "UPDATE maaking_users  set password='$password', about='$about', email='$email', fullname='$fullname' WHERE userid='$userid'";     $result = mysql_query($sql) or die(mysql_error());     echo "Successfully updated profile <br> <a href='profiles.php?id=$userid'>Go to Profile</a>"; } ?>[/code] *note code is missing some info*
  16. thanks so what would the form for the post blog look like?
  17. im making something that is somewhat like a blog ive made a table with the follow rows text time what other rows should i put in???
  18. whats not working about it??? is there a connect to database script somewhere in the code you might wanna try to just use something like $_GET['topicid']
  19. try this [code] $query2 = "SELECT * FROM topics WHERE timestamp='$timestamp'"; $result1 = mysql_query($query2, $conn); while($row=mysql_fetch_array($result1)) { echo $row['topicid']; }[/code]
  20. ok now nothing hapens when you try to edit a profile
×
×
  • 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.