Search found 11 matches

by ryank
Thu Feb 04, 2010 5:57 pm
Forum: PHP - Code
Topic: Clear Textarea on Back Button>
Replies: 4
Views: 395

Re: Clear Textarea on Back Button>

How would such a javascript work?
by ryank
Thu Feb 04, 2010 1:04 pm
Forum: PHP - Code
Topic: Clear Textarea on Back Button>
Replies: 4
Views: 395

Clear Textarea on Back Button>

He, I've got an html textarea in my php code with an initial value "enter description here..." The problem is when the user leaves the page and clicks the back button instead of the initial value the text area has what was previously written in it as a value. How can I make the browser for...
by ryank
Tue Aug 12, 2008 4:25 pm
Forum: PHP - Code
Topic: Unexpected & (probably a noob question)
Replies: 3
Views: 198

Re: Unexpected & (probably a noob question)

Hrmm I tried to put the code in and it kept appearing as a blank post..... <?php if ($fbConfig['allowsubscriptions'] == 1 && ("" != $my_id || 0 != $my_id)) { //$fb_thread==0 ? $check_thread=$catid : $check_thread=$fb_thread; $database->setQuery("SELECT thread from #__fb_subscr...
by ryank
Tue Aug 12, 2008 4:22 pm
Forum: PHP - Code
Topic: Unexpected & (probably a noob question)
Replies: 3
Views: 198

Re: Unexpected & (probably a noob question)

Parse error: syntax error, unexpected '&' in /home/anned/public_html/components/com_fireboard/template/default/view.php on line 333

That is the exact error message I receive. Here is the code of the file in it's entirety. Oddly enough line 333 is blank
by ryank
Tue Aug 12, 2008 9:52 am
Forum: PHP - Code
Topic: Unexpected & (probably a noob question)
Replies: 3
Views: 198

Unexpected & (probably a noob question)

I am trying to modify one of the links in a php file to point to a different website profile etc etc. This is a syntax error so I didn't really think too many details would be necessary. When I inserted this link to do the trick I got an "Unexpected & error" on that line. Do you see an...
by ryank
Mon Aug 11, 2008 1:39 pm
Forum: PHP - Code
Topic: How to add some space:
Replies: 2
Views: 197

Re: How to add some space:

Ah, that worked great and didn't affect the variable, thanks
by ryank
Thu Aug 07, 2008 9:11 pm
Forum: PHP - Code
Topic: Joomla Template Question
Replies: 0
Views: 499

Joomla Template Question

I have a small issue with a joomla template. I really don't even know here to start but I figured maybe this is a type of problem you guys might be able to catch, I don't necissarily need a fix just a point in the right direction. My issue is on the homepage of my website. See if you can spot the di...
by ryank
Thu Aug 07, 2008 8:51 pm
Forum: PHP - Code
Topic: How to add some space:
Replies: 2
Views: 197

How to add some space:

In the image below you'll see that this template was written such that the ascending or descending picture (the little icon next to the table head that is being sorted that looks like three black stripes making a triangle) is waaaaaaay to close to the actual title. Is there an easy way to add some s...
by ryank
Sat Jul 19, 2008 9:13 pm
Forum: PHP - Code
Topic: Noob code question
Replies: 3
Views: 250

Re: Noob code question

OHOHO SWEET 8O 8O 8O 8) :mrgreen: . Had no idea you could do that. Thanks so much. I really don't know much at all about php, I know only what I have learned by clunking around for about a 100 hours in prewritten scripts :banghead: . Which is a lot more than nothing and a lot less than being able to...
by ryank
Sat Jul 19, 2008 3:10 pm
Forum: PHP - Code
Topic: Noob code question
Replies: 3
Views: 250

Re: Noob code question

Okay solved that problem leading to a new one, fixed the syntax with:     function searchSQL ($word, $method) {         if (3 == $method) $word = "^$word$";         if (1 == $method) $word = '^'.$word;         $sterm = "tterm RLIKE '$word'";         $sdef = "tdefinition RLIK...
by ryank
Sat Jul 19, 2008 2:58 pm
Forum: PHP - Code
Topic: Noob code question
Replies: 3
Views: 250

Noob code question

        function searchSQL ($word, $method) {         $sterm = tterm RLIKE '$word';         $sdef = tdefinition RLIKE '$word';         if (3 == $method) $word = "^$word$";         if (1 == $method) $word = '^'.$word;         return ('sterm','sdef' );     }     The above code gives me the ...