Search found 41 matches

by davidhopkins
Wed May 02, 2012 4:22 am
Forum: HTML, CSS and other UI Design Technologies
Topic: Anyone know of a tutorial
Replies: 1
Views: 2073

Anyone know of a tutorial

Good Morning all, On a number of websites i have seen a pretty nifty bit of jQuery of Ajax that results in something that looks like this http://www.conversocial.com/features#connect-with-customers The way you can flick between the tabs on the left and it changes the content without changing page. A...
by davidhopkins
Mon Mar 12, 2012 9:23 am
Forum: PHP - Code
Topic: Mysql storage advice
Replies: 3
Views: 650

Mysql storage advice

Hello all, As part of a university project i am making an online browser based multi player game. The theme of which is a sports management game. I am currently in the planning phase and have come across a little problem in terms with how to best save team player profiles. I plan on having 200-300 t...
by davidhopkins
Tue Feb 07, 2012 4:37 am
Forum: HTML, CSS and other UI Design Technologies
Topic: Change link colour of content inside a div
Replies: 1
Views: 1643

Change link colour of content inside a div

Hello all, I have a div container like this <a href="#"><div class="CompanyHolder CompanyHolderLeft"> <div class="CompanyHolderTitle">Vybe Media</div> <div class="CompanyHolderInfo">Website : http://www.vybemedia.co.uk</div> <div class="CompanyHolderInfo&...
by davidhopkins
Tue Nov 15, 2011 3:27 pm
Forum: PHP - Code
Topic: Problem with clean function returning nothing
Replies: 4
Views: 208

Re: Problem with clean function returning nothing

DO you know of any PHP or server settings that can bugger up function returns ? Its deffo not returning anything =[
by davidhopkins
Tue Nov 15, 2011 2:43 pm
Forum: PHP - Code
Topic: Problem with clean function returning nothing
Replies: 4
Views: 208

Problem with clean function returning nothing

Hello all. I have a very little script that use to work on an old server but now its on a new one fails to work. THe code is //Function to sanitize values received from the form. Prevents SQL injection function clean($str) { $str = @trim($str); if(get_magic_quotes_gpc()) { $str = stripslashes($str);...
by davidhopkins
Tue Oct 25, 2011 2:00 pm
Forum: HTML, CSS and other UI Design Technologies
Topic: Problem with css navigation and border radius
Replies: 1
Views: 1490

Problem with css navigation and border radius

Im having some troubles with navigation and border radius, mainly the fact that the container my navigation sits in has a curve on the lower right, but when you hover over a link, it fills out this curve with the hover background colour. Screenshots - This is what it looks like before you hover over...
by davidhopkins
Thu Oct 13, 2011 4:25 am
Forum: HTML, CSS and other UI Design Technologies
Topic: Problem with CSS backgrounds not showing on small screens.
Replies: 1
Views: 1537

Problem with CSS backgrounds not showing on small screens.

Hello all. I am trying to build out a basic webpage where i want the header background gradient to repeat across the screen, which it does at the moment. I also have a wrapper that is 950px wide to centre all my content. The header background graident sits out side of this as i want that to repeat a...
by davidhopkins
Thu Sep 29, 2011 11:00 am
Forum: PHP - Code
Topic: Create variable name while inside a while loop
Replies: 1
Views: 302

Create variable name while inside a while loop

Hello all. My code is quite basic, a while loop that echos each line of a file. However i need to explode each line of data into a new array for every line. My code as it was it while (($buffer = fgets($FileHandle, 4096)) !== false) { echo $buffer."<br>"; } Which just echos each line to th...
by davidhopkins
Sat Sep 17, 2011 9:57 am
Forum: PHP - Code
Topic: Submitting a form and closing popup
Replies: 0
Views: 334

Submitting a form and closing popup

Hello all. Firstly im not 100% sure if this is the right section on the forum to post under but not am not sure where else to put it so here goes... I am using GreyBox to launch popups on my website, this all works well the popup is called by <a href="../pop/create.php" title="Create&...
by davidhopkins
Wed Sep 07, 2011 10:16 am
Forum: PHP - Code
Topic: Merge two mysql_query results
Replies: 3
Views: 713

Re: Merge two mysql_query results

Im sorry im not sure how i would implement that . .
by davidhopkins
Wed Sep 07, 2011 9:57 am
Forum: PHP - Code
Topic: Merge two mysql_query results
Replies: 3
Views: 713

Merge two mysql_query results

Hello ! In my code i generate two mysql_query results as shown $Result = mysql_query( $Query ); $SecondResult = mysql_query( $LabQuery ); I need to then merge these into one array to send back as a return Both mysql queries have the same data in them in terms of database fields, instructionType, pri...
by davidhopkins
Wed Aug 31, 2011 9:16 am
Forum: PHP - Code
Topic: Return html status page as part of a PHP query
Replies: 0
Views: 335

Return html status page as part of a PHP query

Good Afternoon all. I am digging about trying to develop a simple API system. What i want to do is allow people to search for some candidate information stored in a database and have that returned in either XML or JSON format. I got all this working fine. However i get into problems when i try to re...
by davidhopkins
Tue Aug 30, 2011 8:38 am
Forum: PHP - Code
Topic: Use htaccess file to change url variables
Replies: 1
Views: 297

Use htaccess file to change url variables

Hello all. I am trying to get to grips with htaccess files and being able to change how it reads variables. Currently i have to use www.mydomain.com/Users/id=8 where 8 can be any number from 1-1000. but what i want is the URL to look like www.mydomain.com/Users/8 so people can view their own profile...
by davidhopkins
Mon Aug 29, 2011 4:18 pm
Forum: PHP - Code
Topic: IMDB search function..
Replies: 1
Views: 235

Re: IMDB search function..

Hey,

Stumbled along this link the other day, think its what your after looks straight forward aswell http://www.w3schools.com/PHP/php_ajax_livesearch.asp

=]
by davidhopkins
Mon Aug 29, 2011 4:08 pm
Forum: PHP - Code
Topic: htaccess file to restrict files being opened
Replies: 7
Views: 771

Re: htaccess file to restrict files being opened

Thanks for your replies all. I have been trying to follow the method of having the files stored in a directory that is not accessible to the public and then use PHP to read the file if they have permission. So far i have been trying the reading the file part of the process and have a slight problem....