Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 25 of 500
Search took 2.44 seconds.
Search: Posts Made By: tomws
Forum: PHP 04-05-2011, 04:42 PM
Replies: 2
Views: 599
Posted By tomws
Why should it be one? You've set the value to...

Why should it be one? You've set the value to zero. Checking it only includes the value that you've assigned to be sent to the server.
Forum: PHP 04-04-2011, 10:24 PM
Replies: 1
Views: 287
Posted By tomws
This is how content management systems like...

This is how content management systems like Drupal work. index.php handles all page requests and "fills in" the page from the templating engine. Pretty URLs in Apache get passed to index.php as...
Forum: Site reviews 04-04-2011, 07:54 PM
Replies: 4
Views: 1,512
Posted By tomws
It's broken. They're using javascript to set the...

It's broken. They're using javascript to set the sidebar and content height, so it breaks the layout. OP should check out "faux columns (http://www.alistapart.com/articles/fauxcolumns/)".
Forum: General web building 04-04-2011, 03:59 PM
Replies: 1
Views: 615
Posted By tomws
Look in the Web Projects forums. Someone there...

Look in the Web Projects forums. Someone there was looking for unpaid help a few days ago.
Forum: HTML & CSS 04-04-2011, 03:54 PM
Replies: 3
Views: 389
Posted By tomws
That's a CSS problem. PHP will not affect the...

That's a CSS problem. PHP will not affect the image placement.
Forum: PHP 04-04-2011, 03:53 PM
Replies: 3
Views: 534
Posted By tomws
The form would be a normal HTML form for which...

The form would be a normal HTML form for which there are loads of tutorials available online. Then look up "php form handling" and the php filesystem functions...
Forum: Site reviews 04-01-2011, 05:42 PM
Replies: 26
Views: 5,388
Posted By tomws
You have a 280k page texture:...

You have a 280k page texture: http://www.etchtheweb.com/images/maintexture.jpg

Ouch.


I don't care for left-aligned (or right-aligned) sites, but I'm boring. I do like the look and the easy...
Forum: General web building 04-01-2011, 05:35 PM
Replies: 7
Views: 1,436
Posted By tomws
Microsoft FrontPage '97

Microsoft FrontPage '97
Forum: Project collaboration/ partnership 04-01-2011, 05:31 PM
Replies: 3
Views: 1,618
Posted By tomws
It's only been up for a day and you're offering...

It's only been up for a day and you're offering no money. Give it some time.
Forum: PHP 04-01-2011, 05:20 PM
Replies: 4
Views: 589
Posted By tomws
I recommend fixing your closing php bbcode tag...

I recommend fixing your closing php bbcode tag ([/php]) so that your code is properly formatted. Many will just overlook the post since it appears to be a wall of text.
Forum: PHP 04-01-2011, 05:18 PM
Replies: 4
Views: 408
Posted By tomws
for loops can be used on associative arrays. The...

for loops can be used on associative arrays. The OP just built the loop incorrectly to do what he wants. foreach just makes it "easier".
Forum: PHP 03-28-2011, 04:14 PM
Replies: 2
Views: 337
Posted By tomws
http://php.net/number_format ...

http://php.net/number_format
http://php.net/money_format
Forum: PHP 03-25-2011, 08:34 PM
Replies: 12
Views: 1,415
Posted By tomws
That's what you've programmed it to do. What do...

That's what you've programmed it to do. What do you want it to do?

To determine what's happening with the mail function (http://us.php.net/manual/en/function.mail.php), you'll need to test the...
Forum: PHP 03-25-2011, 04:54 PM
Replies: 2
Views: 1,465
Posted By tomws
What do you mean you can't write it yourself? ...

What do you mean you can't write it yourself? The starter code is already there in the code provided and copy/paste is fairly easy. The result is an array. From that, you could determine the...
Forum: PHP 03-25-2011, 02:18 PM
Replies: 4
Views: 417
Posted By tomws
You forgot the closing parenthesis for isset.

You forgot the closing parenthesis for isset.
Forum: PHP 03-25-2011, 02:16 PM
Replies: 3
Views: 368
Posted By tomws
http://dev.mysql.com/doc/refman/5.0/en/string-func...

http://dev.mysql.com/doc/refman/5.0/en/string-functions.html#function_concat
Forum: PHP 03-25-2011, 02:14 PM
Replies: 2
Views: 333
Posted By tomws
Is there anything else in the for loop at the...

Is there anything else in the for loop at the switch? The closing bracket is not shown.

Are the variables in the cases assigned any values before the loop?

I wonder whether using a function...
Forum: PHP 03-25-2011, 02:06 PM
Replies: 5
Views: 582
Posted By tomws
"not working???": what does that mean?

"not working???": what does that mean?
Forum: PHP 03-25-2011, 03:32 AM
Replies: 21
Views: 4,580
Posted By tomws
You might have better luck starting with a new...

You might have better luck starting with a new post instead of hijacking a 3-month old thread.
Forum: PHP 03-24-2011, 08:53 PM
Replies: 4
Views: 786
Posted By tomws
Dots concatenate strings in PHP. Quotes must be...

Dots concatenate strings in PHP. Quotes must be escaped when inserted into a string wrapped by the same quote marks (double or single). Escaping is done with a single preceding backslash.
...
Forum: PHP 03-24-2011, 08:32 PM
Replies: 6
Views: 620
Posted By tomws
Yes, that's what should happen there. Did you...

Yes, that's what should happen there. Did you var_dump $email after mysql_escape_string? (BTW, see mysql_real_escape_string (http://us2.php.net/manual/en/function.mysql-real-escape-string.php)) ...
Forum: PHP 03-24-2011, 07:21 PM
Replies: 4
Views: 786
Posted By tomws
Looks like you're trying to insert it into...

Looks like you're trying to insert it into another string, so be sure to escape the quotes. Then remove the php tags and echo, replacing them with concatenation.
Forum: PHP 03-24-2011, 07:17 PM
Replies: 2
Views: 545
Posted By tomws
Check the apache logs. Also, clarify what you...

Check the apache logs. Also, clarify what you mean when you say that something is not "working correctly". Give an example.
Forum: PHP 03-24-2011, 04:17 PM
Replies: 6
Views: 620
Posted By tomws
What does this mean? What is it echoing? You...

What does this mean? What is it echoing? You shouldn't see real data from that echo "$result"; line.
Forum: PHP 03-24-2011, 04:04 PM
Replies: 2
Views: 362
Posted By tomws
You expectations are unclear. It sounds like you...

You expectations are unclear. It sounds like you want the page to update dynamically, which can't happen the way you've set hings up. That would require javascript/ajax.
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT +1. The time now is 05:01 AM.