Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 25 of 27
Search took 0.17 seconds.
Search: Posts Made By: oddshoes
Forum: HTML & CSS 05-06-2013, 01:46 PM
Replies: 5
Views: 176
Posted By oddshoes
Thanks very much - a very helpful reply. Now...

Thanks very much - a very helpful reply. Now completely de-mistified! It also explains why the buttons I was generating with js in another part of the code did not have the gap. So much to learn, and...
Forum: HTML & CSS 05-06-2013, 09:46 AM
Replies: 5
Views: 176
Posted By oddshoes
I recognise my code, and have already looked at...

I recognise my code, and have already looked at it for some time. I deduce from your reply that there is some obvious or stupid error in the code that I wrote, but you can be assured that if I could...
Forum: HTML & CSS 05-05-2013, 04:14 PM
Replies: 5
Views: 176
Posted By oddshoes
mystery margin-right

could anyone tell me where the small margin-right ?? comes from between these buttons?
here is the url: http://www.colombierpictures.com/test/test_page.html
cheers
Forum: JavaScript programming 04-30-2013, 03:47 PM
Replies: 5
Views: 160
Posted By oddshoes
immediate success

Thanks very much both of you - I'm learning. Just to check that I understand: The argument needs to be wrapped in 's in the output and the for loop iteration substitution needs also to be wrapped in...
Forum: JavaScript programming 04-29-2013, 08:02 PM
Replies: 5
Views: 160
Posted By oddshoes
Argument not defined

I can make this little product selection system work by writing a separate anonymous function for every button, but this seems inefficient so I tried to make a generic function passing the product...
Forum: DOM and JSON scripting 12-01-2012, 03:16 PM
Replies: 1
Views: 532
Posted By oddshoes
Is Refresh page button part of DOM

Are the back button and the refresh button part of the DOM, and if so is it possible to disable them for a particular page? Anticipating the obvious question “why would you want to do that", I have a...
Forum: PHP 11-28-2012, 10:21 AM
Replies: 8
Views: 344
Posted By oddshoes
Oh dear! I found the solution - it is so...

Oh dear! I found the solution - it is so embarrassingly simple. The clue is in the first reply "In text plain any returns will be wysywig". It truly is wysywig - the white space is converted into...
Forum: PHP 11-27-2012, 01:35 PM
Replies: 8
Views: 344
Posted By oddshoes
Yes it's very curious! Just so that you...

Yes it's very curious! Just so that you understand the whole data path, because there are surely things that I am unaware of, it goes as follows:
The data is input via an HTML web page form and...
Forum: PHP 11-27-2012, 08:56 AM
Replies: 8
Views: 344
Posted By oddshoes
I have made a screen shot of the text file with...

I have made a screen shot of the text file with NP characters showing - it's a bit small, but you can just see that on line 2,4,5,6,etc. there is a paragraph code then 3 tab keys. These are what I...
Forum: PHP 11-26-2012, 04:29 PM
Replies: 8
Views: 344
Posted By oddshoes
This is the email message. All of the lines that...

This is the email message. All of the lines that are indented have 3 tab keys inserted. I have not found a way to make them visible here.
Thank you for your Order.

Your order number is *757...
Forum: PHP 11-26-2012, 10:36 AM
Replies: 8
Views: 344
Posted By oddshoes
formatting characters in php mail()

I am usin php mail() to send order confirmations, it seems to be working fine, but the formating of the resulting email is not tidy. When I paste a mail into OO and display NP characters I see there...
Forum: MySQL 11-23-2012, 04:52 PM
Replies: 5
Views: 754
Posted By oddshoes
I see, so I could leave the accent grave out...

I see, so I could leave the accent grave out where defining the field so long as I don't use reserved words as field names, and the query fails if I try to use it as a string identifier - teach me to...
Forum: MySQL 11-23-2012, 04:25 PM
Replies: 5
Views: 754
Posted By oddshoes
diference between `takenAt`and 'takenAt'

I am using Aptana Studio 3 on a Mac to write queries to get data out of a MySQL DB. First I build the SQL query in the SQL box of PHPmyadmin, when it works I convert to php code in PHPmyadmin and...
Forum: PHP 11-21-2012, 01:40 PM
Replies: 7
Views: 414
Posted By oddshoes
Thanks for your advice - I know I'm out of my...

Thanks for your advice - I know I'm out of my depth, but I learn faster when it's for "real". I managed to resolve the question with some inelegant php contortions, so the system works for now. I...
Forum: PHP 11-19-2012, 11:10 PM
Replies: 7
Views: 414
Posted By oddshoes
I have a MySQL database with two tables - orders...

I have a MySQL database with two tables - orders and users. Users is simple, just the names and p/w of the people who can log in and place orders. Orders is more complicated, it is: unique row id...
Forum: PHP 11-19-2012, 09:42 PM
Replies: 7
Views: 414
Posted By oddshoes
I fear I am altogether on the wrong path - this...

I fear I am altogether on the wrong path - this is the first interactive thing I've tried. Here is the code for the input page - sorry it's huge! I took a load of the JS out in the middle to make it...
Forum: PHP 11-19-2012, 09:13 PM
Replies: 7
Views: 414
Posted By oddshoes
Putting $_POST values into a text mail

I am trying to make an online ordering system for our shop using HTML, php and mysql. We need to send the customers a confirmation email. I am using the simple mail() function. The first part of the...
Forum: PHP 11-08-2012, 10:37 PM
Replies: 5
Views: 412
Posted By oddshoes
thanks; 1. I understand the first bit and have...

thanks;
1. I understand the first bit and have substituted the actual key names. I was trying to be clever - always a mistake! I had not fully understood the difference between the two types of...
Forum: PHP 11-08-2012, 09:58 PM
Replies: 5
Views: 412
Posted By oddshoes
This are the array print and errors Array (...

This are the array print and errors

Array ( [takenAt] => Askew Road [editItem] => qty13 [date1] => 2012-11-08 [date2] => 2012-12-24 [submitEdit] => )
sorry can't do that one: You have an error...
Forum: PHP 11-08-2012, 09:32 PM
Replies: 5
Views: 412
Posted By oddshoes
syntax error when using POST values in query

I am trying to build a query to check stock levels via a web page. I post the values through, print them just to check , then try to use them to build the query. The $_POST array is ok but the...
Forum: PHP 11-07-2012, 08:57 PM
Replies: 3
Views: 247
Posted By oddshoes
I did not care that I lost the 0 data from the...

I did not care that I lost the 0 data from the array, so tried the filter and it worked a treat.
As for the {} I think I am learning from an old book - must look for a more up to date title.
Thanks...
Forum: PHP 11-05-2012, 06:13 PM
Replies: 3
Views: 247
Posted By oddshoes
echo out non "0" values from array

I have a large $_POST array and would like to echo out all the keys and values where the value is not "0". I have tried :

<?php
foreach ($_POST as $key => $value) {
if ($_POST{$value} !==" ");...
Forum: PHP 09-01-2012, 06:43 PM
Replies: 3
Views: 459
Posted By oddshoes
Thumbs up thank you both for taking the time to help. After...

thank you both for taking the time to help. After a little research I understood the code. Your help gave me a little more real experience - which is what I lack - books are all very well but......
Forum: PHP 08-31-2012, 08:12 PM
Replies: 3
Views: 459
Posted By oddshoes
this works but?

Hello all, I am rather new to PHP, this works, but I feel like there should be a more efficient way of doing it. Basically I am grabbing values out of a relatively complicated form to sent to MySQL...
Forum: MySQL 08-28-2012, 06:13 PM
Replies: 4
Views: 788
Posted By oddshoes
Thanks for your input, it reassures me to have my...

Thanks for your input, it reassures me to have my broad outline thoughts confirmed. I have quite a lot to learn to achieve this project, but am willing and eager to do so. I just want to avoid...
Showing results 1 to 25 of 27

 
Forum Jump

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