Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 25 of 141
Search took 0.44 seconds.
Search: Posts Made By: butlins
Forum: PHP 07-27-2011, 12:05 PM
Replies: 6
Views: 1,832
Posted By butlins
Thanks Fou-Lu - you were quite right - I needed...

Thanks Fou-Lu - you were quite right - I needed to add the inverted commas and a comma around each record, rather than the whole thing, so the final function ended up as
function CSVExport($query) {...
Forum: HTML & CSS 07-26-2011, 10:45 AM
Replies: 3
Views: 400
Posted By butlins
There's a Sitepoint book called Build Your Own:...

There's a Sitepoint book called Build Your Own: Standards Compliant Website Using Dreamweaver 8 (http://www.rachelandrew.co.uk/books/dreamweaver-web-standards/) by Rachel Andrew, which still works as...
Forum: HTML & CSS 07-26-2011, 10:30 AM
Replies: 3
Views: 304
Posted By butlins
You can use CSS3 to code for multi-column layouts...

You can use CSS3 to code for multi-column layouts (see the W3C Candidate Recommendation (http://www.w3.org/TR/css3-multicol/) and the CSS3.info page...
Forum: PHP 07-26-2011, 10:09 AM
Replies: 6
Views: 1,832
Posted By butlins
Add column names to CSV export function

I'm using the following:

function CSVExport($query) {
$sql_csv = mysql_query($query) or die("Error: " . mysql_error());

header("Content-type:text/octect-stream");
...
Forum: PHP 07-22-2011, 03:42 PM
Replies: 6
Views: 522
Posted By butlins
Thanks - and thanks for the commenting in the...

Thanks - and thanks for the commenting in the code. I guess I've been spoiled having Dreamweaver write all the update and insert behaviours for me - I think it's probably time for me to buy a book...
Forum: HTML & CSS 07-22-2011, 02:53 PM
Replies: 3
Views: 593
Posted By butlins
You'll need to post samples of the HTML and CSS...

You'll need to post samples of the HTML and CSS too, before anyone's going to have any idea about why that might be happening.
Forum: HTML & CSS 07-22-2011, 02:50 PM
Replies: 7
Views: 603
Posted By butlins
Umm… there's no h3 element in the code you've...

Umm… there's no h3 element in the code you've posted. You could give us a bit more to go on! ;)
Forum: PHP 07-22-2011, 12:21 PM
Replies: 6
Views: 522
Posted By butlins
Thanks for being so helpful - that works...

Thanks for being so helpful - that works perfectly. I'm trying to create a similar multiple update, using that as a template and have ended up with
<?php
$con = mysql_connect("server...
Forum: HTML & CSS 07-22-2011, 11:48 AM
Replies: 5
Views: 613
Posted By butlins
I'd put the icons in CSS and change them that...

I'd put the icons in CSS and change them that way. Something like (although this is off the top of my head and not tested)

<div id="socialmenu">
<ul>
<li id="facebooklink"><a...
Forum: HTML & CSS 07-22-2011, 11:03 AM
Replies: 6
Views: 538
Posted By butlins
If you're using PHP, you can use ...

If you're using PHP, you can use
$_SERVER['php_SELF'];
to set a variable on the referring page, which you can then pass on.

However, you might not need to save the whole path anyway. Assuming...
Forum: PHP 07-21-2011, 12:12 PM
Replies: 6
Views: 522
Posted By butlins
Okay - thought I'd try answering my own question...

Okay - thought I'd try answering my own question about the repeated [] making the ids invalid and put numbers in there, which I can insert on my final from using a loop at run-time. So now my test...
Forum: HTML & CSS 07-21-2011, 11:44 AM
Replies: 5
Views: 765
Posted By butlins
The weights available to you to use depend on...

The weights available to you to use depend on what's available in the font. For example, if you use the Yanone Kaffeesatz (http://www.google.com/webfonts/specimen/Yanone+Kaffeesatz) font from Google...
Forum: HTML & CSS 07-21-2011, 11:14 AM
Replies: 6
Views: 538
Posted By butlins
Assuming that it's just that you don't want the...

Assuming that it's just that you don't want the field's contents visible, could you just store it in a hidden field?
<input name="fieldname" id="fieldname" type="hidden" value="variable that you're...
Forum: PHP 07-21-2011, 10:58 AM
Replies: 6
Views: 522
Posted By butlins
Can someone help explain multiple insert?

I've got a problem sorting out an insert that cycles through multiple rows of a form, and then constructs and executes the insert. I've Googled 'mysql php insert multiple rows form', and while...
Forum: PHP 07-07-2011, 12:51 PM
Replies: 3
Views: 318
Posted By butlins
Facepalm!

Well, that was a distinctly "D'Oh!" moment. Thanks
Forum: PHP 07-05-2011, 01:05 PM
Replies: 3
Views: 318
Posted By butlins
Problem loading variable pairs from database into an array

I know this is a n00b question, but I'm having problems loading a pair of variables returned in a recordset into an array. The recordset is loading variables correctly (if I uncomment the second...
Forum: MySQL 04-08-2011, 11:19 AM
Replies: 4
Views: 1,015
Posted By butlins
This will probably make everyone scream, but...

In the end, the easiest thing to do for me was to first convert the field to a varchar(10) type. I could then use:

update TABLE_NAME set FIELD_NAME = replace(FIELD_NAME, 'find this string',...
Forum: MySQL 04-07-2011, 12:06 PM
Replies: 4
Views: 1,015
Posted By butlins
It is saved as a date rather than char, but the...

It is saved as a date rather than char, but the links give me a start, thanks

John
Forum: MySQL 04-07-2011, 11:11 AM
Replies: 4
Views: 1,015
Posted By butlins
Date problems after being saved as [yyyy]-00-00

I've got a date field, which is only used to store year data, and my client has been entering dates as 00/00/[yyyy], which stores happily in my database as [yyyy]-00-00 without throwing up any...
Forum: HTML & CSS 07-06-2009, 08:07 PM
Replies: 3
Views: 621
Posted By butlins
It's largely my own personal preference, but I...

It's largely my own personal preference, but I always wrap the text inside a table inside its own <p> tag (or appropriate level heading <h#> for td cells), so that I can style the text separately...
Forum: MySQL 06-24-2009, 12:22 PM
Replies: 7
Views: 4,883
Posted By butlins
Solved!

I should have persisted a little longer with my search! If anyone else is looking for the answer on how to convert between MSSQL Datetime and Unix Timestamp formats...
Forum: MySQL 06-24-2009, 11:50 AM
Replies: 7
Views: 4,883
Posted By butlins
Converting dates between MSSQL and MySQL

I've just had my first project which involves migrating a MSSQL database into MySQL, and I've just hit my first puzzler (which I'm hoping is something that anyone who performs these migrations...
Forum: Apache configuration 01-19-2009, 12:38 PM
Replies: 0
Views: 4,409
Posted By butlins
Zeus mod rewrite 301 redirects

I'm currently using Names.co.uk as a host for a few of my client's sites, and thought I'd post up a couple of bits of code which I'm using for 301 redirects, in the hope it saves people the time I've...
Forum: HTML & CSS 12-23-2008, 01:27 AM
Replies: 5
Views: 745
Posted By butlins
If you're starting out, I'd suggest that you have...

If you're starting out, I'd suggest that you have a read around the subject to minimise the amount of time you spend repeating all the mistakes the rest of us made early on. A really good place to...
Forum: HTML & CSS 12-23-2008, 01:17 AM
Replies: 8
Views: 812
Posted By butlins
I'd say you can't go wrong with the books from...

I'd say you can't go wrong with the books from Sitepoint (http://www.sitepoint.com/books/) - I've not ever had a bad one. There a mix of how-to and concepts books, and the most comprehensive CSS...
Showing results 1 to 25 of 141

 
Forum Jump

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