Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 24 of 24
Search took 0.06 seconds.
Search: Posts Made By: ShannenS
Forum: PHP 05-01-2010, 02:09 PM
Replies: 17
Views: 1,122
Posted By ShannenS
Oh right! I hate it when it's the simple things.

Oh right! I hate it when it's the simple things.
Forum: PHP 05-01-2010, 02:05 PM
Replies: 17
Views: 1,122
Posted By ShannenS
Exactly the same as Phil posted but changed the...

Exactly the same as Phil posted but changed the file name.

<?php

$file = "list.txt";
$srt = file_get_contents($file);

$array =...
Forum: PHP 05-01-2010, 01:55 PM
Replies: 17
Views: 1,122
Posted By ShannenS
Yes and all I'm getting is a blank page. Having...

Yes and all I'm getting is a blank page.
Having it directly in the page works though.
Forum: PHP 05-01-2010, 10:31 AM
Replies: 17
Views: 1,122
Posted By ShannenS
Works when I place the list in the file but when...

Works when I place the list in the file but when I try to include it in a txt file it doesn't work.
Forum: PHP 05-01-2010, 09:23 AM
Replies: 17
Views: 1,122
Posted By ShannenS
If my request seems impossible I can remove all...

If my request seems impossible I can remove all tags and just have whatever is inside the <li> tags so instead of:

<li>whatever</li>
<li>whatever2</li>
<li>2whatever</li>
<li>2 whatever</li>...
Forum: PHP 05-01-2010, 09:20 AM
Replies: 17
Views: 1,122
Posted By ShannenS
I placed the "a" there. Problem is there is over...

I placed the "a" there. Problem is there is over 3000 lines. I can't manually append <a href="whatever"> to the start and </a> to the end. Remeber also that "whatever" has to equal the string inside...
Forum: PHP 05-01-2010, 08:31 AM
Replies: 17
Views: 1,122
Posted By ShannenS
At the moment it is static but it will be...

At the moment it is static but it will be developed to php soon. At the moment I just need the regex statement thanks.
Forum: PHP 05-01-2010, 08:29 AM
Replies: 2
Views: 1,729
Posted By ShannenS
date_default_timezone_set('PDT'); //Change this...

date_default_timezone_set('PDT'); //Change this to PST when appropriate
echo date("g:i:sA m/d/Y"); // example output: 12:29:35AM 05/01/2010
Forum: PHP 05-01-2010, 07:59 AM
Replies: 17
Views: 1,122
Posted By ShannenS
Regex help.

I don't know if this is the right place to post this.

Ok I've got this code

<li><a name="symbols">(blah)</a></li>
<li>123blah</li>
<li>123</li>
<li>123 blah</li>
<li>blah 123</li>...
Forum: PHP 05-01-2010, 07:41 AM
Replies: 3
Views: 771
Posted By ShannenS
M - Model V - View C - Controller The...

M - Model
V - View
C - Controller

The best way to think of it is compare it to a work place scenario:
Model - This should have all the database queries in it. Like an employee who knows how to...
Forum: PHP 05-01-2010, 07:35 AM
Replies: 11
Views: 1,621
Posted By ShannenS
Yes you need a name. So instead of <form...

Yes you need a name. So instead of

<form action="result.php" method="post">
<input type="text" id="facebook" class="facebook" /> <label class="facebook">Facebook</label>
</form>

Do

<form...
Forum: HTML & CSS 04-16-2010, 12:21 AM
Replies: 8
Views: 3,105
Posted By ShannenS
Wow thanks works exactly as expected. Sorry for...

Wow thanks works exactly as expected. Sorry for making you have to hack it for IE8. I use chrome but the person I'm making it for and most of his users also use IE8.
Forum: HTML & CSS 04-15-2010, 02:09 PM
Replies: 8
Views: 3,105
Posted By ShannenS
Don't worry about the reason why just believe me...

Don't worry about the reason why just believe me its easier using an animated gif =).

Anyway I download scriptley and made 200x200 pic.png but all it does is print "false" on a page.

See...
Forum: Ajax and Design 04-15-2010, 01:53 PM
Replies: 12
Views: 3,176
Posted By ShannenS
As I told you I really am not good with...

As I told you I really am not good with javascript. PHP is my area. You'll have to explain what this does:
if (4 === xhr.readyState && 200 === xhr.status) {
...
Forum: Ajax and Design 04-15-2010, 12:51 PM
Replies: 12
Views: 3,176
Posted By ShannenS
Yes I have already coded the PHP part to generate...

Yes I have already coded the PHP part to generate those parts marked in blue all I need is the AJAX and HTML
Forum: Ajax and Design 04-15-2010, 11:42 AM
Replies: 12
Views: 3,176
Posted By ShannenS
I'm not sure if I understand you. I just need...

I'm not sure if I understand you.
I just need the code to append another dropdown box underneath the previous one. If you're talking about <select name="value"> where "value" is the value you're...
Forum: Ajax and Design 04-15-2010, 09:18 AM
Replies: 12
Views: 3,176
Posted By ShannenS
When I say I am new to javascript I mean totally...

When I say I am new to javascript I mean totally new. I still dont know how to have a button or link on my page that runs all that javascript.



This is more like it. It is ALMOST exactly how I...
Forum: Ajax and Design 04-15-2010, 04:14 AM
Replies: 12
Views: 3,176
Posted By ShannenS
I'm sorry I know nothing about javascript. I'm...

I'm sorry I know nothing about javascript. I'm going to need to know how to implement this into my page after I have including the javascript file.
Forum: HTML & CSS 04-15-2010, 03:05 AM
Replies: 8
Views: 3,105
Posted By ShannenS
How do I replace the page contents with that page...

How do I replace the page contents with that page you have posted without refreshing or redirecting the page? Don't worry about making it SE friendly because it is not supposed to be.
Forum: HTML & CSS 04-14-2010, 10:35 AM
Replies: 8
Views: 3,105
Posted By ShannenS
Ok well someone asked me to implement a feature...

Ok well someone asked me to implement a feature in their site that, when clicked, changes the layout and title of the page without refreshing so that when the user clicks a part of the page it...
Forum: HTML & CSS 04-14-2010, 08:14 AM
Replies: 8
Views: 3,105
Posted By ShannenS
Smile CSS equivalent of image map

Hello,
Can someone tell me what is the CSS equivalent of HTML image maps?
I was thinking maybe sprites could do it even though they aren't exactly made as a replacement for image maps.

Thank you.
Forum: Ajax and Design 04-14-2010, 06:15 AM
Replies: 12
Views: 3,176
Posted By ShannenS
Question Add extra form field

I have a form, say this:
Title: [text field]
Parameters: [dropdown box]

Simples so far. What I want is to have this:
Title: [text field]
Parameters: [dropdown box]
[button or link]Add another...
Forum: DOM and JSON scripting 04-14-2010, 06:02 AM
Replies: 3
Views: 2,693
Posted By ShannenS
Thanks worked perfectly. How do I get it to...

Thanks worked perfectly.

How do I get it to work with a OnKeyUp event?
I got this code:
<script type="text/javascript">
document.onkeyup = KeyCheck;
function KeyCheck()
{
var...
Forum: DOM and JSON scripting 04-13-2010, 04:17 AM
Replies: 3
Views: 2,693
Posted By ShannenS
Unhappy document.title not working as expected

I am using the bookmarklet javascript: document.title = "Sample"; to try and change the title of a webpage only the pages context gets entirely replaced with the word "Sample".
Alternatively I've...
Showing results 1 to 24 of 24

 
Forum Jump

All times are GMT +1. The time now is 04:09 AM.