Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 20 of 20
Search took 0.06 seconds.
Search: Posts Made By: Cobb
Forum: Ajax and Design 09-24-2012, 07:59 PM
Replies: 6
Views: 772
Posted By Cobb
Thanks for all your help, it worked. Although i...

Thanks for all your help, it worked. Although i realised in the end that sending it through as a form was most functional for what I was doing.
Forum: Ajax and Design 09-24-2012, 02:43 PM
Replies: 6
Views: 772
Posted By Cobb
Yeah i just noticed the first mistake, but now I...

Yeah i just noticed the first mistake, but now I cant work out how to write that line.
data = 'html=document.getElementById("source").innerHTML'; sends it a string instead of the contents of the...
Forum: Ajax and Design 09-24-2012, 02:28 PM
Replies: 6
Views: 772
Posted By Cobb
XMLHttp Request problem

I've written a XMLHtttpRequest, but something is breaking down somewhere.

function submit(){
// declaring variables to be used
var xhr, target, changeListener, url, data;

//setting...
Forum: PHP 02-28-2012, 02:31 PM
Replies: 9
Views: 481
Posted By Cobb
That seems to be exactly what it was! So stupid!...

That seems to be exactly what it was! So stupid! But thank you!
Forum: PHP 02-28-2012, 09:16 AM
Replies: 9
Views: 481
Posted By Cobb
The page just won't load, shows blank in firefox,...

The page just won't load, shows blank in firefox, and gets 'HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.' in...
Forum: PHP 02-28-2012, 12:21 AM
Replies: 9
Views: 481
Posted By Cobb
Function call crashing PHP

One php file has the following code in it:
<?php
include ("includes/emailRetrieve.php");

$name = $_GET['name'];
echo $name


$emailDetails = GetEmailContent($inName = $name);
Forum: Apache configuration 02-25-2012, 08:24 PM
Replies: 4
Views: 893
Posted By Cobb
Ok, so I've changed my SQL querys so that it...

Ok, so I've changed my SQL querys so that it doesn't use ID's anymore. Instead it searches by a new field, 'url', which i set myself.

So now i have:
www.mysite.com/posts.php?url=whatever-i-chose...
Forum: Apache configuration 02-25-2012, 09:46 AM
Replies: 4
Views: 893
Posted By Cobb
I'm the only one who can put content onto the...

I'm the only one who can put content onto the site, so name clashes won't be a problem.

I'm struggling with mod_rewrite at a more basic level though at the moment.

I can't even turn...
Forum: Apache configuration 02-24-2012, 05:42 PM
Replies: 4
Views: 893
Posted By Cobb
mod_rewrite help needed!

Hi,

I'm basically lost with mod_rewrite! I have a php page that pulls up entries to the db using GET and the id.

So the web address is www.mysite.composts.php?id=1 (for example).

What i want...
Forum: PHP 01-31-2012, 10:20 PM
Replies: 10
Views: 336
Posted By Cobb
Of course! Can't believe I missed that! Working...

Of course! Can't believe I missed that! Working fine now, thank you!
Forum: PHP 01-31-2012, 09:28 PM
Replies: 10
Views: 336
Posted By Cobb
Yeah, I realised that after. <?php ...

Yeah, I realised that after.

<?php

class BlogPost
{

public $id;
public $title;
public $post;
Forum: PHP 01-31-2012, 09:25 PM
Replies: 10
Views: 336
Posted By Cobb
Ahh yeah sorry, being a bit slow! I'll just get...

Ahh yeah sorry, being a bit slow! I'll just get the code for that!
Forum: PHP 01-31-2012, 09:23 PM
Replies: 10
Views: 336
Posted By Cobb
The div to display the blog posts in index.php. ...

The div to display the blog posts in index.php.

<div id="blogPosts">
<?php
include ("includes/includes.php");

$blogPosts = GetBlogPosts();

foreach ($blogPosts as $post)
{
Forum: PHP 01-31-2012, 09:07 PM
Replies: 10
Views: 336
Posted By Cobb
I've tried using $id = $post->id; but nothing...

I've tried using $id = $post->id; but nothing seems to get stored in $id from that.

What do you mean by the definition of BlogPost?
Forum: PHP 01-31-2012, 08:29 PM
Replies: 10
Views: 336
Posted By Cobb
Accessing an int from array

I'm building my own blog, and need to use the id number of a blog post as part of a link to take you to a page with the full blog post.

I have a php file with the following bit of code:
...
Forum: HTML & CSS 01-31-2012, 02:55 PM
Replies: 2
Views: 298
Posted By Cobb
But the second image needs to be placed on top of...

But the second image needs to be placed on top of all other elements. Won't that code still place it underneath everything else?
Forum: HTML & CSS 01-31-2012, 10:32 AM
Replies: 2
Views: 298
Posted By Cobb
Full size image on top of background

Hey,

So i have a background set to be full size and centers so the larger the window the more of the background you see.

.background {
background: url(images/body-bg.jpg) no-repeat...
Forum: HTML & CSS 08-02-2011, 10:21 PM
Replies: 5
Views: 397
Posted By Cobb
Yeah, it all matches up now, its not that causing...

Yeah, it all matches up now, its not that causing it to not work. The CSS code is altering the link properties, so i know its not an error like that. I'm still stuck with the positioning error...
Forum: HTML & CSS 08-02-2011, 11:36 AM
Replies: 5
Views: 397
Posted By Cobb
Whoops, sorry, the html does actually say nav...

Whoops, sorry, the html does actually say nav now. I switched them all to navi in the hope that the error was coming as a result of me using 'nav' in both lists. I forgot to switch the hmtl back from...
Forum: HTML & CSS 08-02-2011, 09:39 AM
Replies: 5
Views: 397
Posted By Cobb
Problem positioning links

I've got the main navigation links for the site positioned correctly, but now i'm trying to add some sublinks to a page. I want them positioned to the top right of the content box, but positioning...
Showing results 1 to 20 of 20

 
Forum Jump

All times are GMT +1. The time now is 10:29 AM.