www.webdeveloper.com

Search:

Type: Posts; User: danz321

Page 1 of 4 1 2 3 4

Search: Search took 0.02 seconds.

  1. Thread: php order by

    by danz321
    Replies
    2
    Views
    1,252

    php order by

    http://www.badnutbeats.co.uk/inotherwords/define.php?op=strip'slashes'

    As you can see, I have this voting system setup for different definitions of phrases. In the database the votes are dealt...
  2. Replies
    7
    Views
    5,040

    fixed it in the end... it was happening due to...

    fixed it in the end... it was happening due to magic_quotes being on. I wasn't able to turn them off as I dont have access to the php.ini so I used this code as a work-around:



    if...
  3. Replies
    1
    Views
    632

    sorry just realised the elseif(($subject ==...

    sorry just realised the elseif(($subject == 'all') && ($alphabet == 'all')) had to come first.

    SOLVED!
  4. Replies
    1
    Views
    632

    elseif statement confusion

    Hi,

    http://www.badnutbeats.co.uk/inotherwords/browse.php?alphabet=all&subject=all&listtype=browse

    I cannot see anything wrong with this, please someone enlighten me!

    All if statements work...
  5. Replies
    7
    Views
    5,040

    thanks eval(badcode), I needed to use GROUP BY to...

    thanks eval(badcode), I needed to use GROUP BY to get it to work: Here's my final code for those who want to see...


    $query="SELECT original, subject, date FROM phrases WHERE original LIKE...
  6. Replies
    3
    Views
    2,193

    right, sorry... im so stupid for not adding code!...

    right, sorry... im so stupid for not adding code! :p

    I've worked out that this is almost what I want:



    $query="Select Distinct original, subject, date FROM phrases WHERE original LIKE...
  7. Replies
    7
    Views
    5,040

    Thanks ribeyed, you got me one step closer......

    Thanks ribeyed, you got me one step closer... your query was almost right....

    I worked out this what I want:


    $query="Select Distinct original, subject, date FROM phrases WHERE original LIKE...
  8. Replies
    3
    Views
    2,193

    php / sql query help

    Hi, I've been working on this website:

    http://www.badnutbeats.co.uk/inotherwords

    As you can see on the website there are 3 menus. The idea is for one item on each menu to stay highlighted in...
  9. Replies
    7
    Views
    5,040

    Actually the original code was wrong too. I'm...

    Actually the original code was wrong too. I'm completely stuck now.. Hopefully someone here will be able to point me in the right direction....

    http://www.badnutbeats.co.uk/inotherwords

    As you...
  10. Replies
    7
    Views
    5,040

    alternative to DISTINCT ?

    Hi,

    I currently have the SQL statement:



    $query="SELECT DISTINCT original FROM phrases WHERE original LIKE '".$head."%'
    UNION
    SELECT DISTINCT original FROM phrases WHERE original...
  11. Replies
    2
    Views
    2,380

    ty. Sorted. Glad it was such an easy fix!

    ty. Sorted. Glad it was such an easy fix!
  12. Replies
    2
    Views
    2,380

    Compatibility Issue with IE6 / IE7

    Hi,

    The menu on my website works fine in every browser other than IE6 / IE7. I still know that a lot of people use these browsers so I want the menu to work on them too.
    ...
  13. Replies
    1
    Views
    1,007

    browser detection script - help needed!

    I've used an image popup thing (http://visuallightbox.com) in my website (http://thepeakgroup.com/newsite). It works great except not in IE7 or lower so I want to put a browser detection script in to...
  14. Replies
    1
    Views
    2,776

    I should add that I changed the compatibility...

    I should add that I changed the compatibility view to IE7 (<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"> ) to stop the drop down menu's from going out of alignment when you zoom in or...
  15. Replies
    1
    Views
    2,776

    CSS drop down menus problem in IE

    Hi,

    If you look at my website in both IE and Firefox - http://dan.thenuttalls.co.uk/radiohudd - You will see that on IE, the menu doesn't sit as tight to the edges as it does on Firefox.

    I was...
  16. Thread: $_FILE help

    by danz321
    Replies
    2
    Views
    4,316

    $_FILE help

    I have a form in my site that includes an option to upload an mp3, it currently works on certian mp3s, but not all.

    It would seem that larger mp3s never get uploaded to the server, and then other...
  17. Replies
    4
    Views
    600

    wait, my bad. what you suggested works, i just...

    wait, my bad. what you suggested works, i just left a line of code out without realising. thanks a lot criterion!
  18. Replies
    4
    Views
    600

    sorry... i forgot to mention, this code is at the...

    sorry... i forgot to mention, this code is at the start (everything up to the <body> tags) of every page of my site. my intention was to make it more efficient, so if i wanted to change the title at...
  19. Replies
    4
    Views
    600

    undefined index help

    I currently have a "header" page that includes everything up to the <body> tags. within this im using php to display the title by using the $_GET command as the name of the pages are within the...
  20. Replies
    7
    Views
    8,400

    unless a music file has been uploaded via the...

    unless a music file has been uploaded via the form on the previous page, there is no value for the "music" column, hence why i thought the isset function would work. but it doesnt seem to
  21. Replies
    7
    Views
    8,400

    OK so i fixed the problem, it was becuase the xml...

    OK so i fixed the problem, it was becuase the xml file didnt have permission rights to be written to. silly me. however, i now have this problem:


    $query2="select date, title, text, author, music...
  22. Replies
    7
    Views
    8,400

    updating xml file with fopen / fwrite

    Hi,

    I'm trying to get my site to automatically update the rss feed when I add news through my "add news" form. Currently the news gets added to the database fine, but it fails to update the xml...
  23. ok, i have now changed the code, and im getting...

    ok, i have now changed the code, and im getting the error "can't open file", this is becuase the xml file im opening to write wont open, and im not sure why. here's the code, any ideas why it wont...
  24. bascially what im trying to do is create an rss...

    bascially what im trying to do is create an rss feed that is automatically updated when I add something new to the database. I was under the impression that what I have written would do that!

    yeh...
  25. xml parsing error when generating an rss file with php

    Hi,
    when i try to generate an rss file with php i get the error:

    XML Parsing Error: XML or text declaration not at start of entity
    Location: http://hermes.hud.ac.uk/u0759062/index.php
    Line...
Results 1 to 25 of 76
Page 1 of 4 1 2 3 4
HTML5 Development Center



Recent Articles