Search found 81 matches

by JordanMRichards
Wed Jul 11, 2012 12:08 pm
Forum: PHP coding => General
Topic: Web Sockets With A User System
Replies: 3
Views: 781

Re: Web Sockets With A User System

Anyone?
by JordanMRichards
Mon Jul 09, 2012 1:11 pm
Forum: PHP coding => General
Topic: Web Sockets With A User System
Replies: 3
Views: 781

Web Sockets With A User System

Hello there! I have a basic knowledge of websockets and I've set a web socket sever up on my VPS host. I have a user system. I want to use my web socket sever on different pages. Say for example on each user's profile there was a chat. I'd have a column in the database of to where the chat was poste...
by JordanMRichards
Wed Jun 27, 2012 12:21 pm
Forum: PHP coding => General
Topic: div tag and content loading
Replies: 2
Views: 530

Re: div tag and content loading

Hello dd09, I'm not sure if I've understood your question correctly. But anyway, here's my answer to what I think your asking. I would not use iframes as tabs on a webpage, it's highly inefficient and takes up much more space. From what I could figure out. It seems you are loading content inside a D...
by JordanMRichards
Wed Jun 27, 2012 9:18 am
Forum: PHP coding => General
Topic: Solved
Replies: 16
Views: 2017

Re: Paginating An Array

Thank you so much! :)

It works perfectly with my script.
by JordanMRichards
Wed Jun 27, 2012 7:15 am
Forum: PHP coding => General
Topic: Solved
Replies: 16
Views: 2017

Re: Paginating An Array

Ravik I appreciate your help but your not really helping..

The part I'm trying to solve is limiting the array results by the $start and $limit variables.
by JordanMRichards
Wed Jun 27, 2012 7:13 am
Forum: PHP coding => General
Topic: Solved
Replies: 16
Views: 2017

Re: Paginating An Array

nullsig

that did not work as it gives this error.

explode() expects parameter 2 to be string, array given in

the foreach loop made sure that it did it for EACH PART of the $items2 array. Not just the WHOLE array.
by JordanMRichards
Wed Jun 27, 2012 3:18 am
Forum: PHP coding => General
Topic: Solved
Replies: 16
Views: 2017

Re: Paginating An Array

I know exactly what I want to do. (Sorry, should of been much more clear.) This is what's going on.. The first array is the string fetched from the sql database which gets exploded to take out the commas and split it out into the array like this.. so like.. in chunks of 12443&5 (the numbers vary). N...
by JordanMRichards
Tue Jun 26, 2012 12:06 pm
Forum: PHP coding => General
Topic: Solved
Replies: 16
Views: 2017

Re: Paginating An Array

Thanks for your help nullsig. But it still won't work :( Perhaps you could implement it in? I'D REALLY appreciate it. Thank you. $get_items_q = "SELECT * FROM campers WHERE id =".mysql_real_escape_string(userField('id'))." ORDER by id DESC"; // ====================================================== ...
by JordanMRichards
Tue Jun 26, 2012 8:22 am
Forum: PHP coding => General
Topic: Solved
Replies: 16
Views: 2017

Re: Paginating An Array

john I'm afraid that did not help at all.

The question is. How can I use my $limit and $start variables to limit the items shown in the FOREACH loop.

Thanks.
by JordanMRichards
Tue Jun 26, 2012 7:00 am
Forum: PHP coding => General
Topic: Solved
Replies: 16
Views: 2017

Re: Paginating An Array

Null, well I'm not quite sure what you mean by "key". If you mean by what the string looked like before it got exploded..

,2314&5,241234&5 -- that's the format, obviously the numbers will vary.
by JordanMRichards
Tue Jun 26, 2012 6:34 am
Forum: PHP coding => General
Topic: Solved
Replies: 16
Views: 2017

Solved

This topic has been solved thanks to nullsig.
by JordanMRichards
Sun Jun 10, 2012 7:29 am
Forum: PHP coding => General
Topic: Storing Arrays In A SQL Table *SOLVED*
Replies: 1
Views: 508

Storing Arrays In A SQL Table *SOLVED*

Is it possible to store arrays in an SQL Table? Say for example I had loads of users, each user could pick 5 numbers. Them numbers, stored in an array. Then that array gets updated in the users table for the "theirNumbers" column. After then I then retrieve the array and can get anything I want from...
by JordanMRichards
Tue May 29, 2012 1:18 pm
Forum: JavaScript
Topic: Getting Images Positions After Dragging and Dropping
Replies: 3
Views: 1362

Re: Getting Images Positions After Dragging and Dropping

Figure out the positions and how I'd send them to a php file
by JordanMRichards
Tue May 29, 2012 8:54 am
Forum: PHP coding => General
Topic: Getting some ugly message on my website and website is not l
Replies: 1
Views: 526

Re: Getting some ugly message on my website and website is n

Hey there. Firstly make sure your scripts are not in ASCII=1 charset. Instead make them the charset UTF-8. Secondly, on your second error, you have an error with your actual code. In order to see why the bracket is not supposed to be there, you need to post your code. - - - - - - - - - - - - - - - -...
by JordanMRichards
Tue May 29, 2012 8:43 am
Forum: PHP coding => General
Topic: Beginner needs help with converting HTML frames!
Replies: 0
Views: 447

Re: Beginner needs help with converting HTML frames!

php is a sever-side programming language. HTML is always used when it comes to page elements. PHP is more often used for back-end things like security, validation or other complex things. Creating <iframe> - is HTML. Not PHP. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ...
by JordanMRichards
Tue May 29, 2012 8:37 am
Forum: JavaScript
Topic: Getting Images Positions After Dragging and Dropping
Replies: 3
Views: 1362

Getting Images Positions After Dragging and Dropping

Hey Everyone, I'm not too good with javascript and jquery myself. I want to use the jquery UI (draggable and dropable) to make a system where you have images and you drop them onto one MAIN image. Then get the positions of where them images are and feed back that result to a php file, where I could ...
by JordanMRichards
Fri Apr 27, 2012 6:04 am
Forum: PHP coding => General
Topic: How to fix header code.
Replies: 2
Views: 1306

Re: How to fix header code.

There is no particular code for the head. So I presume, you got that code from google or something. The code code that goes in the "Head" (not a HEADER) all depends on what you want done.. Here's a few common ones.. ◘Title, ◘Javascript functions, ◘Meta, (charset type etc) ◘Stylesheets, I suggest you...
by JordanMRichards
Thu Apr 26, 2012 12:21 pm
Forum: Free time
Topic: table column limit reached
Replies: 2
Views: 1563

Re: table column limit reached

┏━━━┳━━━┳┓┏┓┏┳━━━┓ ┃┏━┓┃┏━┓┃┃┃┃┃┃┏━┓┃ ┃┗━┛┃┃╋┃┃┃┃┃┃┃┗━━┓ ┃┏┓┏┫┃╋┃┃┗┛┗┛┣━━┓┃ ┃┃┃┗┫┗━┛┣┓┏┓┏┫┗━┛┃ ┗┛┗━┻━━━┛┗┛┗┛┗━━━┛ ┏━━━┓ ┗━━━┛ ┏━━━┓ ┗━━━┛ ┏━┓┏━┓╋╋┏┓┏┓╋╋┏┓ ┃┃┗┛┃┃╋┏┛┗┫┃╋╋┃┃ ┃┏┓┏┓┣━┻┓┏┫┗━┓┃┗━┳┓┏┳━━┳━━┓ ┃┃┃┃┃┃┏┓┃┃┃┏┓┃┃┏┓┃┃┃┃┏┓┃┃━┫ ┃┃┃┃┃┃┏┓┃┗┫┃┃┣┫┃┃┃┗┛┃┗┛┃┃━┫ ┗┛┗┛┗┻┛┗┻━┻┛┗┻┻┛┗┻━━┻━┓┣━━┛ ╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋...
by JordanMRichards
Thu Apr 26, 2012 12:14 pm
Forum: Free time
Topic: What Are The Requirements To Get More "STARS" on here?
Replies: 5
Views: 2185

Re: What Are The Requirements To Get More "STARS" on here?

In your picture... Are you.. eating.. Your top? :O

If you are.. tell me what it tastes like lol

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
14 Year Old Programmer & Graphic Artist, Confident and Courageous
Image
by JordanMRichards
Thu Apr 26, 2012 11:54 am
Forum: Free time
Topic: What Are The Requirements To Get More "STARS" on here?
Replies: 5
Views: 2185

Re: What Are The Requirements To Get More "STARS" on here?

Take a look at the board...

I have the most recent post in nearly all of them lol!

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
14 Year Old Programmer & Graphic Artist, Confident and Courageous
Image
by JordanMRichards
Thu Apr 26, 2012 11:30 am
Forum: Your Scripts
Topic: form validation
Replies: 12
Views: 4286

Re: form validation

nice

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
14 Year Old Programmer & Graphic Artist, Confident and Courageous
Image
by JordanMRichards
Thu Apr 26, 2012 11:26 am
Forum: Other Database Engines
Topic: php oracle sql injection
Replies: 1
Views: 2349

Re: php oracle sql injection

use

mysql_real_escape_string()

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
14 Year Old Programmer & Graphic Artist, Confident and Courageous
Image
by JordanMRichards
Thu Apr 26, 2012 11:25 am
Forum: MySQL Installation
Topic: for anyone installing xampp 1.7.7 on win 7 64
Replies: 1
Views: 2613

Re: for anyone installing xampp 1.7.7 on win 7 64

Good advice

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
14 Year Old Programmer & Graphic Artist, Confident and Courageous
Image
by JordanMRichards
Thu Apr 26, 2012 11:23 am
Forum: PHP Jobs
Topic: Need PHP Help
Replies: 1
Views: 843

Re: Need PHP Help

Advice : I suggest learning some php it will do you good in the long run. Search tutorials on YT to get you started ;) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 14 Year Old Programmer & Graphic Artist, Confident and Courageous https://p.twimg.com/ArQCNxOCEAICS0m...