Search found 66 matches
- Sat Jan 16, 2016 1:46 am
- Forum: PHP
- Topic: Bug with PHP 7
- Replies: 5
- Views: 5662
Re: Bug with PHP 7
Weird, I installed Xdebug and it works
- Sat Jan 16, 2016 1:36 am
- Forum: PHP
- Topic: Bug with PHP 7
- Replies: 5
- Views: 5662
Re: Bug with PHP 7
OK... The file that I am including on every page is: [syntax=php]<?php error_reporting(E_ALL); session_start(); $connection = new mysqli("localhost","root", "", "codebase"); $path = dirname(__FILE__); require("{$path}/functions.php"); function displa...
- Fri Jan 15, 2016 11:46 pm
- Forum: PHP
- Topic: Bug with PHP 7
- Replies: 5
- Views: 5662
Bug with PHP 7
Has anyone else noticed this? I am currently developing a PHP knowledge base system. I am using the latest version of XAMPP with PHP 7. I'm not sure if I am doing something wrong but whenever I try and start the session, the page doesn't load, Chrome resets the connection, Internet Explorer says the...
- Mon Nov 09, 2015 6:46 pm
- Forum: CSS / Styling
- Topic: Table Positioning
- Replies: 4
- Views: 17179
Re: Table Positioning
I managed to sort it by setting the #container .content table to 99.9%
- Sun Nov 08, 2015 4:50 pm
- Forum: General Chat
- Topic: New forum software?
- Replies: 19
- Views: 20285
Re: New forum software?
As for mobile responsiveness of phpBB, I don't know how the latest version fairs on mobile but I know, for sure, there is or, at least, was a script you could put in the root of the forum that would allow you to use your phpBB forum with an app on iOS
- Sun Nov 08, 2015 4:15 pm
- Forum: CSS / Styling
- Topic: Table Positioning
- Replies: 4
- Views: 17179
Table Positioning
I am trying to develop a forum system, inspired by phpBB, but I am having a problem with the table where I am outputting the list of forum topics. I have the following CSS relating to my table: [syntax=css] #container nav { border-bottom: #000033 thin solid; border-top: #000033 thin solid; border-ri...
- Tue Apr 07, 2015 11:11 am
- Forum: Other
- Topic: Help with ASP and AJAX
- Replies: 1
- Views: 14111
Help with ASP and AJAX
Hi all, I'm working on this autocomplete script using AJAX in conjunction with Classic ASP which is not my idea. I have the following javascript: function showCustomer(str) { // remove white space from the name entered on the search screen str = str.replace(" ", ""); var xmlhttp;...
- Fri Jan 03, 2014 11:39 pm
- Forum: General Chat
- Topic: Poll Site Feedback
- Replies: 4
- Views: 5918
Re: Poll Site Feedback
I'll take those points on board. I did, however, think about logging the IP but I actively decided against it since there could be multiple people sitting behind a single public IP address (i.e. a NAT router) meaning the system would be rendered useless within a university or school environment as o...
- Fri Jan 03, 2014 6:03 pm
- Forum: General Chat
- Topic: ASP.NET MVC 5 vs PHP
- Replies: 7
- Views: 9701
Re: ASP.NET MVC 5 vs PHP
I was once told that "No-one ever got fired for buying Cisco" so I guess they think that, if they go with Microsoft and it breaks, there is less chance of being fired for making a bad choice.People pick ASP because it's Microsoft
- Fri Jan 03, 2014 5:46 pm
- Forum: General Chat
- Topic: Poll Site Feedback
- Replies: 4
- Views: 5918
Poll Site Feedback
I have set up a site which allows users to create polls which expire after a certain amount of time. You can find the site at http://www.makepoll.co.uk and it emails you the results of a poll 30 mins after the expiry date (using a cronjob). It would be really great if I could get some feedback on th...
- Wed Oct 16, 2013 1:49 am
- Forum: SQL
- Topic: Duplicate Keys
- Replies: 1
- Views: 5780
Re: Duplicate Keys
Worked it out now
- Tue Oct 15, 2013 10:53 pm
- Forum: SQL
- Topic: Duplicate Keys
- Replies: 1
- Views: 5780
Duplicate Keys
II have a table which looks like CREATE TABLE IF NOT EXISTS `some_table` ( `field_one` CHAR(6) NOT NULL, `field_two` INT(1) NOT NULL, `field_three` INT(4) NOT NULL, `field_four` INT(10) NOT NULL ) ENGINE = InnoDB; and then I add constraints to it, making a row into a unique key ALTER TABLE `some_tab...
- Mon Oct 14, 2013 11:00 pm
- Forum: PHP
- Topic: Alternate Ranges
- Replies: 1
- Views: 3542
Re: Alternate Ranges
Got it sorted now
- Mon Oct 14, 2013 10:39 pm
- Forum: PHP
- Topic: Alternate Ranges
- Replies: 1
- Views: 3542
Alternate Ranges
OK so the new project I'm working on is a system to let you create strawpolls and set expiry times for them. I am currently using a range to create the array to allow the user to select a number of hours. Is there a way of increment the array on 15 so that I'd have the array going 15, 30, 45, 60, 75...
- Thu Oct 03, 2013 9:18 pm
- Forum: PHP
- Topic: Multi Field Search
- Replies: 1
- Views: 3532
Multi Field Search
I am trying to create a multi-field search based on the Database Searching tutorial. I am holding the field names in an array to make it easier for myself. The code I have is as follows function database_search_user_cond($connection, $term, $start_page, $per_page) /* This function will search the da...
- Wed Jul 10, 2013 5:25 pm
- Forum: Tutorials
- Topic: PHP Audio Download Script
- Replies: 0
- Views: 17674
PHP Audio Download Script
This will output a listing of your music and let users download it and is a variation on my file listing script. This project requires the getID3() class so first go ahead and download that. You want to require or include the getid3.php file so you can take advantage of the getID3 class. You will th...
- Wed Jul 03, 2013 2:31 am
- Forum: JavaScript
- Topic: Timeout Issues
- Replies: 0
- Views: 17777
Timeout Issues
Hi all, I am trying to code a javascript timeout for my website so the user doesn't have their session taken away without warning, The code I have is: function delay() { window.location = "logout"; } I also have <body onload="setTimeout(delay(), 300000);"> My problem is that, whe...
- Sat Jun 29, 2013 1:43 am
- Forum: CSS / Styling
- Topic: Inline Form
- Replies: 3
- Views: 8572
Re: Inline Form
Yes, after playing around for a couple of days I thought "hang on, isn't <ul> a block level element" so I defined
nav ul { display: inline-block;}
- Fri Jun 28, 2013 5:33 pm
- Forum: CSS / Styling
- Topic: Inline Form
- Replies: 3
- Views: 8572
Re: Inline Form
I have worked it out now
- Fri Jun 28, 2013 1:15 am
- Forum: CSS / Styling
- Topic: Inline Form
- Replies: 3
- Views: 8572
Inline Form
Can someone help me out? I have a horizontal navigation bar using the HTML5 <header> and <nav> tags. The navigation links only take up 25% of the bar that's created and I want to put a search form at the end. I have this code so far header nav { border: #FFFFFF thin solid; } header nav ul { list-sty...
- Sat Jun 22, 2013 3:52 am
- Forum: Tutorials
- Topic: From MySQL to MySQLi
- Replies: 1
- Views: 2415
Re: From MySQL to MySQLi
Good advice and, even though the mysql_ functions do work, people should be switching over. I switched from using MySQL to MySQLi a while back. You can also pass the connection variable as a function parameter which I usually do. <?php function some_database_thing($mysqli) { some query code; return ...