Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 25 of 76
Search took 0.20 seconds.
Search: Posts Made By: Oatley
Forum: JavaScript frameworks 06-04-2013, 03:18 PM
Replies: 10
Views: 287
Posted By Oatley
Thank you for all your help in this. It's great...

Thank you for all your help in this. It's great help and helped me learn a lot!
Forum: JavaScript frameworks 06-04-2013, 01:38 PM
Replies: 10
Views: 287
Posted By Oatley
Thanks again. Thats great advice and has me...

Thanks again. Thats great advice and has me thinking. What I was thinking of doing was within the $.each loop is to store a variable in an array that holds the name of the last person it outputted to...
Forum: JavaScript frameworks 06-04-2013, 11:59 AM
Replies: 10
Views: 287
Posted By Oatley
That's brilliant. Thank you very much for your...

That's brilliant. Thank you very much for your help here.

Can I just ask one more question please. Say I added an entry to the JSON feed while the script was running. Is it possible to get it to...
Forum: JavaScript frameworks 06-03-2013, 06:36 PM
Replies: 10
Views: 287
Posted By Oatley
Thank you for helping. Yes thats what I want so...

Thank you for helping. Yes thats what I want so for example when I call my function first time


$(function() {
setInterval("Updates()",5000);
});


It outputs the word Jon only
Forum: JavaScript frameworks 06-03-2013, 03:43 PM
Replies: 10
Views: 287
Posted By Oatley
Thank you, but thats not quite what I need as...

Thank you, but thats not quite what I need as that seems to just fade in each slowly and then repeat itself, whereas I just wish to load one name value in at a time and then stop.

Any other...
Forum: JavaScript frameworks 06-03-2013, 09:23 AM
Replies: 10
Views: 287
Posted By Oatley
Load JSON data into div using JQuery once at a time?

Hello. I am trying to learn JQuery and am quite new to it having come from a PHP background so am looking for some help if at all possible please

What I'm trying to do is load this JSON feed

...
Forum: PHP 05-21-2013, 06:33 PM
Replies: 1
Views: 135
Posted By Oatley
Dynamic controller in MVC?

Hello. I have built myself a basic MVC system and it's working well. I have a problem though in the fact I run several websites and I want to use this framework for all my websites.

Now in my...
Forum: PHP 05-15-2013, 04:04 PM
Replies: 1
Views: 148
Posted By Oatley
Advice/help with MVC please?

Hello I am trying to build a model view controller system and am a little stuck on implementing it.

In my model I have a method in which I pass a query to


SELECT name, age, biog FROM table...
Forum: PHP 05-14-2013, 07:29 PM
Replies: 3
Views: 192
Posted By Oatley
Just procedural. Thank you

Just procedural. Thank you
Forum: PHP 05-14-2013, 06:25 PM
Replies: 3
Views: 192
Posted By Oatley
Advice with a class to load modules please?

Hello. I'm after some help please. I'm trying to build a framework to maintain my website structure.

On my website my layout consists of a main frame and a right hand menu.

In the right hand...
Forum: MySQL 05-09-2013, 09:22 PM
Replies: 3
Views: 309
Posted By Oatley
Thank you, that would make sense. My problem is...

Thank you, that would make sense. My problem is though I did not explain myself very well - sorry. My second query where I use POW really part of a longer query that I cut down and did not put all...
Forum: MySQL 05-09-2013, 09:29 AM
Replies: 3
Views: 309
Posted By Oatley
Merge a query into one?

Hello, after some help please. I have 50 or so records in my table called values. There are two columns in this table called value1 and value2

So I would simply query a single record like

...
Forum: PHP 05-08-2013, 03:44 PM
Replies: 4
Views: 162
Posted By Oatley
Thank you. That's really helped me. So just in...

Thank you. That's really helped me. So just in terms of visibility, something like this?


class myClass {
private $results_set = array();
public function __construct(PDO $c,$query) {
...
Forum: PHP 05-08-2013, 01:37 PM
Replies: 4
Views: 162
Posted By Oatley
Pass the results of a query to another method

Hello, I'm after some help if that is possible please. I have a query that I pass into my constructor like so


class myClass {
public function __construct(PDO $c,$query) {
$sql =...
Forum: PHP 05-04-2013, 06:08 PM
Replies: 1
Views: 197
Posted By Oatley
Querying two tables in OOP?

Hello. I am wondering how you use and pass the result data from a query in one method to query another method in oop for example


class MyClass {

private $query;
private...
Forum: PHP 04-23-2013, 03:01 PM
Replies: 6
Views: 233
Posted By Oatley
Thanks you guys that solves my problem. Just for...

Thanks you guys that solves my problem. Just for my reference, when is a good real world example of where I could implement iterator?
Forum: PHP 04-23-2013, 01:44 PM
Replies: 6
Views: 233
Posted By Oatley
Looping through a results set in OOP?

Hello. in my OOP code I've passed a query into my constructor and held the results in a property called $this->results_set


class myclass {

private $query;
private $results_set;

...
Forum: MySQL 03-29-2013, 11:14 PM
Replies: 2
Views: 494
Posted By Oatley
Brilliant explanation. Thank you I fully...

Brilliant explanation. Thank you I fully understand now. :thumbsup:
Forum: PHP 03-29-2013, 03:18 PM
Replies: 1
Views: 170
Posted By Oatley
Call out a stored procedure in php

Hello, In MySQL I have created a stored procedure like so


DELIMITER //
CREATE PROCEDURE countnames(OUT total_count INT(2))
BEGIN
SELECT COUNT(*) INTO total_count from table where name =...
Forum: MySQL 03-29-2013, 12:33 PM
Replies: 2
Views: 494
Posted By Oatley
Role of variables in a stored procedure?

Hello, can someone please help me understand what the role defining variables does when it comes to using them with stored procedures.

For example if I write a stored procedure with a variable...
Forum: MySQL 03-27-2013, 08:14 PM
Replies: 1
Views: 360
Posted By Oatley
Stored procedures (inout)

Hello, I'm trying to learn about stored procedures and I am stuck on using a stored procedure with inout

Now I can't find a good example of how to use inout on a web search. I can find loads on...
Forum: MySQL 03-26-2013, 12:19 PM
Replies: 2
Views: 371
Posted By Oatley
Some help with indexing please?

Hello. I am trying to understand indexing and i'm a bit stumped when it comes to joins.

I have two tables

A website table (Primary Key here is website_id)
A links table (Foreign Key here is...
Forum: MySQL 03-13-2013, 10:18 AM
Replies: 3
Views: 391
Posted By Oatley
That's an excellent explanation and I thank you...

That's an excellent explanation and I thank you very much for the posting here. Can I check something though please that I am not sure about. In the following query

SELECT starts, ends, name FROM...
Forum: MySQL 03-12-2013, 07:50 PM
Replies: 3
Views: 391
Posted By Oatley
Multi-column indexing?

Hello I'm trying to get to grips with indexing and for the majority of it I think I understand it but am confused by one thing which is When to use multi-column indexing and when not to. So I have a...
Forum: MySQL 03-01-2013, 11:09 AM
Replies: 2
Views: 864
Posted By Oatley
Stored functions

Hello, of late I've been learning about stored functions. Just have one question on them please. When and how do you decide if a query is a possible candidate to become a stored function? Is it when...
Showing results 1 to 25 of 76

 
Forum Jump

All times are GMT +1. The time now is 01:37 PM.