Search found 1014 matches

Search found 1014 matches Page 3 of 102
by Filip
Wed Apr 13, 2016 3:00 pm
Forum: Help & Support
Topic: Php search help
Replies: 10
Views: 5209

You would want to change OR in query to AND : foreach ($terms as $each){ $i++; if ($i == 1) $query .= "FullName LIKE '%$each%' "; else $query .= "AND FullName LIKE '%$each%' "; //here } KR, -Filip
by Filip
Wed Apr 13, 2016 11:26 am
Forum: Help & Support
Topic: Php search help
Replies: 10
Views: 5209

Hello, here's the fixed code: <?php session_start(); if(!isset($_SESSION["sess_user"])){ header("location:index.php"); } ?> <html> <head> <title>MBDUES.co.uk</title> <link rel="stylesheet" type="text/css" href="css/style.css" media="screen"...
by Filip
Wed Apr 13, 2016 10:18 am
Forum: Help & Support
Topic: Php search help
Replies: 10
Views: 5209

<?php if(isset($_GET['k'])) { // check if get request has been made and k has been set $k = $_GET['k']; $terms = explode(" ", $k); $query = "SELECT * FROM orders WHERE "; $i = 0; // setting counter to 0 foreach ($terms as $each){ $i++; if ($i == 1) $query .= "FullName LIKE ...
by Filip
Wed Apr 13, 2016 8:28 am
Forum: Help & Support
Topic: Php search help
Replies: 10
Views: 5209

Your $i variable is never set to 0. You also never check if get request has been made.

KR,
- Filip
by Filip
Wed Mar 23, 2016 2:34 am
Forum: Work in Progress
Topic: [WIP] Harp Music
Replies: 5
Views: 3752

Hey, It looks like a wonderful project! I haven't had an opportunity to test it out, but I have few questions: [*]Is it possible to use multimedia keys on my mouse/keyboard in order to switch between tracks? [*]Is it possible to cache YouTube/SoundCloud music for offline listening? [*]Is it possible...
by Filip
Fri Mar 18, 2016 10:17 am
Forum: Help & Support
Topic: PHP Help Please
Replies: 3
Views: 2953

Hey, If I was you, I'd add another column with into the table named asap in type of bool or tinyint(1). When you have row type as timestamp, it's much more easier to build queries that are time related. If you implemented that, you'd want to do a query like this: SELECT * FROM `customers` WHERE `pay...
by Filip
Tue Mar 01, 2016 3:06 pm
Forum: Announcements
Topic: Mad March 2016
Replies: 4
Views: 3677

Hey,

I like the idea of completing contests on any time. It would be nice if you would put some mark that challenge has been completed or separate completed from non-completed tasks.

KR,
-Filip
by Filip
Sat Jan 23, 2016 11:01 am
Forum: Coding Help & Support
Topic: Regex match Individual groups
Replies: 2
Views: 1643

So I assume you want to get something like this as an output: MATCH 1 1. [0-5] `Title` 2. [7-24] `This is the title` MATCH 2 1. [25-29] `main` 2. [31-36] `main1` MATCH 3 1. [37-41] `tags` 2. [43-46] `222` MATCH 4 1. [47-51] `tags` 2. [53-56] `285` ... If that's the case you should use: /(.*): (.*)/g...
by Filip
Tue Jan 12, 2016 11:59 pm
Forum: Codenstuff boardroom
Topic: How should we award badges?
Replies: 3
Views: 1665

CodenStuff wrote:
I think you already got that badge. I'll send you a t-shirt lol
No, I don't think that I have that badge.. And yes, send me a T-Shirt, I need XXL!

KR
-Filip
by Filip
Mon Jan 11, 2016 7:19 pm
Forum: Codenstuff boardroom
Topic: How should we award badges?
Replies: 3
Views: 1665

There should be a reward for posting X number of posts to 18+ section... Like "Mega Pervo" or "Fapathon"
Search found 1014 matches Page 3 of 102
Go to advanced search