Search results

  1. LeCeejay

    Change page based on MySQL result

    <?php $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("joshwelford", $con); $result = mysql_query("SELECT * FROM `cms_settings` WHERE `id` = 'site_closed'"); $row = mysql_fetch_row($result); $read = $row; if($read...
  2. LeCeejay

    Change page based on MySQL result

    The reason it says "yes" all the time is because you've stated no "else" from what I see, but I may be blind. However, from my basic knowledge in PHP, I would assume that should work.
  3. LeCeejay

    Change page based on MySQL result

    From what I can guess is it'd be something like this; *Connect to you Database* $maintenance = *Run a query to select the collum which is "is_maintenance"* if $maintenance == 1 { redirect thing or w.e } else { your page } Or something, idk
  4. LeCeejay

    My FB Account Profile Pic./Cover Photo

    It's got major flaws, for example the annonymous face is cut off at the top, hence being made somewhere else and being copied in Doesn't "fit" facebook either
  5. LeCeejay

    Introduction Hey I'm back

    Leviathan Welcome back, :3
  6. LeCeejay

    [Help ASAP] Points Shop redirects to /me page [Please!]

    Few things A) Are you logged in to the CMS? B) Is the scripting alright, no redirects in their that aren't needed? C) Maybe show us the pages?
  7. LeCeejay

    Donate intergration?

    I want to make a paypal donate button (Already made) but when they donate certain amounts, I want it to update in a mysql database E.G A user logs in to a UCP, accesses the "donate" page, puts in "£5" to donate and then donates such, gets a thanks page from paypal and gets redirected to the...
  8. LeCeejay

    [HELP] Code for Clickable Image Link?

    No, have it which shows:
  9. LeCeejay

    Goodbye for now

    Sorry to hear Mark, I know how it feels My best wishes are with you
  10. LeCeejay

    [HELP] Internet connectivity?

    Hi, Devbest. So, I have a laptop and a desktop both connected to the same router, one wireless (Laptop) one wired (Desktop). Normally it's the case that the wired connecting is faster, better etc... But ya see, here's the fun part. I do a lot of downloading of games via Steam and well my...
  11. LeCeejay

    GTA SA Vindictive RP

    If you tried to DDoS it, you failed.
  12. LeCeejay

    GTA SA Vindictive RP

    Added a bit more info, a screenshot gallery will be uploaded soon.
  13. LeCeejay

    GTA SA Vindictive RP

    Would you like to join a FUN non-trolling community? Would you like to be able to have fun. Ever been in LSPD and been trapped? NOT ANY MORE! With our new flare system you can set a flare off for a LSPD heli to find you! We are now running v1.2A(lpha) testing. Any person who joins the server...
  14. LeCeejay

    [HELP] Retrieving MYSQL data from search putting into forms.

    Okay, here's in simple terms I want to make a page, which will display entries from the current day. So if I book 2 jobs yesterday, and 2 jobs today - I only want this to show the jobs booked TODAY.
  15. LeCeejay

    [HELP] Retrieving MYSQL data from search putting into forms.

    Did your 'time' thing, this is what happened; Notice: There was an error. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`name` LIKE '%1234%' ORDER BY `name`' at line 1 SQL Was: `name` LIKE '%1234%' ORDER...
  16. LeCeejay

    [HELP] Retrieving MYSQL data from search putting into forms.

    I'll have a look at the first 2nd: Right so. I want to make a unique ID for EACH job that's made, so like it starts at 1 and every job is +1, so 1, 2, ,3 etc.. How would I go about doing this. Currently when i create a job the id is 'null', how do I make the number system thing?
  17. LeCeejay

    [HELP] Retrieving MYSQL data from search putting into forms.

    They have a timestamp/time. I just need to know how to only recall those that are inputted on that day. 2) I have a search tool, It searches 3 things for a search term you put in, these are 'Name' 'Ward' and 'Destination', if your search term comes back with results, It lists them. I want to...
  18. LeCeejay

    [HELP] Retrieving MYSQL data from search putting into forms.

    Ik spam spam spam... But here's what Iw ant to know; MYSQL: If I input say, 3 things into my form today, and on my 'List all inputs today', how would I do that? So like how would I put (in C#/Pawn way: "if(date == curdate) { DISPLAY RESULTS LYK } else { No jobs booked today }" ??? NEW: I'm...
  19. LeCeejay

    A new issue xD

    How do I fix this, I've been trying for a while - It's that only one because I changed it from 'ward' to 'from' and I still got the error (Screenshots show the 'from' error, not 'ward') fromphptomysql.php; $date = $_POST['date']; $time = $_POST['time']; $hospital = $_POST['hospital']; $dob...
  20. LeCeejay

    [PHP/MYSQL] I need a bit of help :$

    Even his AMBULANCE crew doesn't get paid that much... lol. Anyways: close Topic, seems my question wasn't answered.
Top