Jump to content

newhip

Members
  • Posts

    39
  • Joined

  • Last visited

newhip's Achievements

Member

Member (2/5)

0

Reputation

  1. Well there is sort of a relationship. The artist_id field is the primary id field in the artist table.
  2. Ok if have some code that i am trying to add to. <form action="#" method="post" enctype="multipart/form-data"> <input type="text" name="search"/> <input type="submit" name="search1"/> </form> <?php if(isset($_POST['search1'])){ $search=mysql_real_escape_string($_POST['search']); } include 'connect.php'; if(isset($_POST['search1'])){ $query=mysql_query("SELECT * FROM media WHERE extra_cred LIKE '%".$search."%' OR artist_id LIKE '%".$search."%' OR title LIKE '%".$search."%' OR content LIKE '%".$search."%' OR detail LIKE '%".$search."%' OR tags LIKE '%".$search."%' OR user LIKE '%".$search."%' OR type LIKE '%".$search."%' ") ?> What I would like to do is also search another table within that database by the name of artists with the same POST data. Anyone know what to do? I've been at this for a while.
  3. newhip

    $GLOBALS

    Ok i got a new problem regarding this same topic... I got everything working and I'm able to read off the the url with $_SERVER but now it's looking for a file on my server. How do i make it not look for a file and just know that it's actually just data that i've injected into the url?
  4. newhip

    $GLOBALS

    I don't know much about "$_SERVER" but after some quick research it seams like that is exactly what i'm trying to do. Thanks a lot guys!
  5. Ok I've seen urls like www.domain.com/title-of-page-blah-blah and i understand how to make the url with the dash. My question is how to I set that on the index page? I know how to do that after a set a $GLOBALS['q']['view'] and get the page like www.domain.com/view/title-of-page-blah-blah but not without the "view" or wtv i would set it to. Please help.
  6. newhip

    FTP

    lol what cat? the one in my avi? What is plUpload? i downloaded it and have no clue what it is
  7. newhip

    FTP

    We use Chrome or Firefox
  8. newhip

    FTP

    I do not code for IE I completely disregard it. I know a bit of javascript and jquery and "chunking it" seems like what i want to do.
  9. newhip

    FTP

    i mean the company hosting my my website. and i have created a custom ini file but they have set restrictions
  10. newhip

    FTP

    Ok I have a problem... My sever has a max_file_upload of 2mb that can't be modified. I need to load larger files than that through a form and not a client like filezila or wtv. I've looked through so many documents looking to find the answer and have found none. Does anyone know how this can be done? I want this to be done through php. I'm thinking maybe breaking down the file or using php ftp or something but have no idea where to start! HELP!!!
  11. Hey guys i have a general question not sure if this is the right place to post it but im going to go ahead and ask. I'm looking to design my own media player that can be embedded in other pages. Problem is i cant seem to figure out how to start. Could someone point me in the right direction? I'm assuming JavaScript is the language i should try doing this with but not sure! any Input is appreciated. would be an audio player.
  12. oh, the script still works though ill check that part out i guess ill just write different ones for each bar i make. lol i have a fat cat too but that's not a picture of mine
  13. hmm i'm not quite sure if i know what you're talking bout. I'm trying use the same javascript code and several sliders.
×
×
  • 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.