Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 25 of 64
Search took 0.14 seconds.
Search: Posts Made By: awatson
Forum: MySQL 03-20-2013, 05:34 PM
Replies: 4
Views: 488
Posted By awatson
Well, MySQL has full text search with query...

Well, MySQL has full text search with query expansion:

http://dev.mysql.com/doc/refman/5.0/en/fulltext-query-expansion.html

However I'm not sure how useful it'll be in this situation. You might...
Forum: PHP 03-14-2013, 10:06 PM
Replies: 5
Views: 239
Posted By awatson
This sounds like more of a front-end layout...

This sounds like more of a front-end layout question - maybe try in the HTML&CSS forum?
Forum: JavaScript programming 06-29-2009, 08:59 PM
Replies: 1
Views: 431
Posted By awatson
Not hard to find - just google "javascript make...

Not hard to find - just google "javascript make homepage" and found code no problem:

http://www.codelifter.com/main/javascript/homepage1.html
Forum: JavaScript programming 06-29-2009, 08:47 PM
Replies: 1
Views: 448
Posted By awatson
Just put whatever you want the "default" settings...

Just put whatever you want the "default" settings for it to be in your stylesheet - they'll get overridden by the javscript (when it's triggered) but will control the display for people not running...
Forum: PHP 05-19-2009, 08:42 PM
Replies: 4
Views: 470
Posted By awatson
I'd put your validation checks in after the...

I'd put your validation checks in after the "Gathering Data Variables" section. Just something like


$errorsFound = 0;
if ($firstnameField = '') { $errorsFound .= "<li>Please enter your first...
Forum: General web building 05-19-2009, 08:35 PM
Replies: 1
Views: 758
Posted By awatson
Assuming this is a database-driven app, I'd store...

Assuming this is a database-driven app, I'd store the name, start time and duration in minutes. You could store start time as a unix timestamp (seconds since 1970), then to figure the end time by...
Forum: JavaScript frameworks 05-07-2009, 10:52 PM
Replies: 3
Views: 2,512
Posted By awatson
Try this one: ...

Try this one:

http://www.ndoherty.com/demos/coda-slider/1.1.1/#1

The arrows on the side do what you're looking for so, you can probably adapt the script to get rid of the tabs at the top.
Forum: HTML & CSS 07-25-2008, 04:44 PM
Replies: 2
Views: 762
Posted By awatson
Personally, I'd write a perl script to read in...

Personally, I'd write a perl script to read in the CSV file, parse it, then spit out HTML. But it'd make even more sense to put it data into a real database like mysql, which will make it a lot...
Forum: Ajax and Design 07-25-2008, 04:41 PM
Replies: 5
Views: 1,217
Posted By awatson
What error are you getting? Is it a PHP error or...

What error are you getting? Is it a PHP error or a javascript error?
Forum: PHP 07-25-2008, 04:34 PM
Replies: 2
Views: 652
Posted By awatson
I think that last section should be something...

I think that last section should be something more like :


foreach ($accounts_array as $a_a) {
$display_accounts .= "<tr>\n";
foreach ($a_a as $fld) {
$display_accounts .=...
Forum: HTML & CSS 07-25-2008, 04:29 PM
Replies: 2
Views: 768
Posted By awatson
I've never used that method to read data from a...

I've never used that method to read data from a csv, but it looks like each dvd entry would be in its own row of the table, which would stack them vertically. You need to have multiple TDs per TR -...
Forum: Perl/ CGI 05-12-2008, 07:22 PM
Replies: 26
Views: 3,697
Posted By awatson
Could it be a permissions problem? You could try...

Could it be a permissions problem? You could try changing it to 777 and seeing if it'll run. Or could can you try running the script from the command line to see if returns any errors?
Forum: MySQL 05-12-2008, 07:10 PM
Replies: 1
Views: 637
Posted By awatson
Don't think there's anything that JOIN or GROUP...

Don't think there's anything that JOIN or GROUP BY will do for you. Perhaps something using CONCAT() somehow. You're probably better off doing it through the PHP code that displays the results...
Forum: Computer/PC discussions 05-06-2008, 05:46 PM
Replies: 1
Views: 859
Posted By awatson
Nothing I know of. I suppose you could write a...

Nothing I know of. I suppose you could write a script that keeps track of key values and only pulls records since the last pull, but it seems like it'd have to be pretty customized for each db.
Forum: PHP 05-02-2008, 03:40 PM
Replies: 4
Views: 910
Posted By awatson
Use an include? That's an awful vague question,...

Use an include? That's an awful vague question, we'd need to see how the site is coded to answer something like that!
Forum: Perl/ CGI 05-02-2008, 03:36 PM
Replies: 6
Views: 2,242
Posted By awatson
I don't know squat about windows servers, what...

I don't know squat about windows servers, what was the error in the server log? And what's the config file look like? Then maybe someone more knowledgeable can help.
Forum: Perl/ CGI 05-02-2008, 03:35 PM
Replies: 8
Views: 1,198
Posted By awatson
Are you sure it's pulling down the pages? Try...

Are you sure it's pulling down the pages? Try having it print out $res->content and run it from the command line make sure it's actually getting content to search.

If it is, I'd look at your...
Forum: General web building 04-30-2008, 08:46 PM
Replies: 3
Views: 1,288
Posted By awatson
You can let someone download it and run it on...

You can let someone download it and run it on their local computer, but that's about it.
Forum: General web building 04-30-2008, 08:45 PM
Replies: 11
Views: 1,288
Posted By awatson
Your "hits 1, pages 0" may come from that other...

Your "hits 1, pages 0" may come from that other site hotlinking to an image on your site - you mentioned an mp3 that was similar - are you sure they're not just linking to your mp3 on your site?
Forum: HTML & CSS 04-30-2008, 08:42 PM
Replies: 5
Views: 889
Posted By awatson
The problem is the floated left image. You might...

The problem is the floated left image. You might want try putting the footer div inside the content div, at the very bottom. Then it's clear:both should apply to the image.
Forum: HTML & CSS 04-21-2008, 08:58 PM
Replies: 2
Views: 1,972
Posted By awatson
Yes, I believe you can - you may want to check...

Yes, I believe you can - you may want to check out this explanation of the "wmode" setting that lets flash play better with html elements.
...
Forum: HTML & CSS 04-16-2008, 11:06 PM
Replies: 5
Views: 699
Posted By awatson
The only way I see you could do this is through...

The only way I see you could do this is through custom coding, i.e. creating a cgi script that uses system() to call "mv [oldfilename] [newfilename]" - which may or may not work depending on your...
Forum: Perl/ CGI 04-08-2008, 03:30 PM
Replies: 7
Views: 2,185
Posted By awatson
You may want into using a module if you're...

You may want into using a module if you're looking to parse lots of html in different ways - this may be useful:
http://www.perl.com/pub/a/2006/01/19/analyzing_html.html
Forum: Perl/ CGI 04-08-2008, 03:26 PM
Replies: 2
Views: 1,190
Posted By awatson
You could probably do it by adding some code near...

You could probably do it by adding some code near the top of your script that checks for lower-case chars in the URL and if found does a javascript or meta redirect to the the uppercase version of...
Forum: Perl/ CGI 04-08-2008, 03:24 PM
Replies: 6
Views: 1,428
Posted By awatson
Just a thought - for checking that the string is...

Just a thought - for checking that the string is a number 10 or less digits long, this may be easier to read, and therefore maintain:

if ((length $group_id <= 10) && ($group_id !~ /\D/)) { [do...
Showing results 1 to 25 of 64

 
Forum Jump

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