User Profile

Collapse

Profile Sidebar

Collapse
warezguy05
warezguy05
Last Activity: Jan 3 '08, 10:30 AM
Joined: Oct 10 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • warezguy05
    started a topic Help needed with designing database model

    Help needed with designing database model

    Hi

    I'm developing a database driven website (my first one..) but i've run into a problem.

    My vision:

    The website should contain a database of DJ's that have played SETS at EVENTS (or raves ..whatever you call them). Each of those sets should contain a downloadlink to an audiofile so the visitors of the website are able to listen the set at home.
    Every set consists out of a certain amount of TRACKS...
    See more | Go to post

  • yeah im curious too :)
    See more | Go to post

    Leave a comment:


  • yes security is an important issue although the festival is fictional fortunately ;) is it useful to remove html/php tags by using the strip_tags function or aint that sufficient?



    2 tomongous;
    i removed some white spaces at the top of the page between 2 parts of php-code and it worked out. the redirection function is working again :)...
    See more | Go to post

    Leave a comment:


  • Thanks for putting effort in this :)

    The 06-thing is the place where people are able to enter their cellphone-number. Cellphonenumber s start with 06 in holland so thats why the 06 is already entered to make it more easy :) The cellphonenumber should be unique in the database by the way.

    Anyway, i'll try your suggestions and let know if it worked out or not.
    greets...
    See more | Go to post

    Leave a comment:


  • Page redirection doesn't work using header function

    Hi

    I'd like to forward users to a 'thank-you' page after they've submitted a form.

    I used this code and it worked perfectly till yesterday;

    header("Locatio n: http://www.ernestoow.c om/mudlands/bedankt.html");

    Right now..after submitting the data, the form refreshes and is empty again..although the submitted data is inserted into the database and a confirmation email is sent to the...
    See more | Go to post

  • i finally figured it out;

    query had to be;

    $query = "SELECT description FROM COORDINATOR
    where username = '$loginname'";

    instead of

    $query = "SELECT description FROM COORDINATOR
    where username = $loginname";

    (notice the single quotes)
    i didn't know i had to use them...anyway.. .maybe till soon when i have a new question :p
    See more | Go to post

    Leave a comment:


  • if (!$result) { echo "blablabla" ;
    }

    and it echoes blablabla so something must be wrong than regarding the selection statement.
    lets see if i can figure out what
    See more | Go to post

    Leave a comment:


  • till half an hour ago i hadn't read much of how it works with rows and assigning with results , but now i know a little bit more..

    i changed the code to this but still no result (and the same error-message)

    [php]

    $loginname = $_SESSION["username"];

    $query = "SELECT description FROM COORDINATOR
    where username = $loginname";


    $result = mysql_query($qu ery);...
    See more | Go to post

    Leave a comment:


  • sorry, i had forgotten to translate that specific line of my script to be able to request help here :)

    i meant;

    $location=mysql _result($result _username,$i,"d escription");
    See more | Go to post

    Leave a comment:


  • okay thanks :)

    using that function i see this error;

    "Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /home/livesets-online.com/www/topics/boekvrijwillige r.php on line 56"


    line 56 is this line;

    $location=mysql _result($result _username,$i,"o mschrijving");

    (nothing wrong with this as far as i can see..although im...
    See more | Go to post

    Leave a comment:


  • Error while fetching values from table containing login info

    Hello

    I'm experiencing a problem;

    I've written a small script where volunteers can be booked for work-activities at a festival.
    The festival has 5 different departments so i've created a database-table named "COORDINATO R" where all 5 usernames, password (md5 protected) and short description of the departments are located.

    When a volunteer is getting booked by a certain festivaldepartm ent,...
    See more | Go to post

  • try to use a few guides like;

    Setup IIS: http://www.no-ip.com/support/guides/web_servers/setting_up_iis. html

    Setup PHP: http://66.249.93.104/search?q=cache: yTz0BS84V6YJ:ww w.webmasterstop .com/123.html+setup+ php+server&hl=n l&gl=nl&ct=clnk &cd=1


    IIS is a webserver (suitable for a windows-based computer) just like Apache which is more used on a Linux-based system.
    So when you...
    See more | Go to post

    Leave a comment:


  • thanks for your input Ronald. although your suggestions didn't work out properly for me..i had to adjust the code a little bit, and now it works well :)

    i had to put the dollar-sign before 'id' and remove the row-stuff


    Code:
    $KijkLink = "<a href=\"bookvolunteer.php?id=" . $row["id"] . "\">BOOK ME</a>";
    echo $KijkLink;

    has become;...
    See more | Go to post

    Leave a comment:


  • warezguy05
    started a topic Help needed with trying to make a detail page
    in PHP

    Help needed with trying to make a detail page

    hi

    im pretty new in php (and programming at all), but for a project at school i need to make a festival-site where volunteers can sign up to work at a festival and those people can be 'reserved' by festival-owners to work at their festival.

    okay..registrat ion system is done and its also possible already to show a list of volunteers that have been signed up, but now i'd like to make a page where festival-owners can see...
    See more | Go to post
No activity results to display
Show More
Working...