TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Showing results 1 to 25 of 28
Search took 0.00 seconds.
Search: Posts Made By: bmathers
Forum: XHTML, HTML, CSS 02-28-2008, 10:36 AM
Replies: 2
Views: 1,105
Posted By bmathers
body css

i have set the body of my site with a max and min width in the css. However when it is expanded in larger screen it is aligned to the left, how can i keep it centered. The obvious doesnt seem to...
Forum: Absolute Beginners 02-19-2008, 09:27 AM
Replies: 11
Views: 1,087
Posted By bmathers
can you explain what the difference is between...

can you explain what the difference is between the single and double qoutes, sorry for being simple, justtrying to understand everything.
Forum: Absolute Beginners 02-19-2008, 08:12 AM
Replies: 11
Views: 1,087
Posted By bmathers
just an imagein my images folder, the code above...

just an imagein my images folder, the code above is one of many in a file called message.oho, which is called when the user clicks to find more information
Forum: Absolute Beginners 02-19-2008, 08:12 AM
Replies: 11
Views: 1,087
Posted By bmathers
thats what i thought but its not working, ive...

thats what i thought but its not working, ive tried this but cant get it too work

$config["M_Paintball_100"]="
<h1>Times:</h1> 9.45am – 2pm or 11.30am – 3.30pm on a half day, full day 9.45am –...
Forum: Absolute Beginners 02-18-2008, 11:18 PM
Replies: 11
Views: 1,087
Posted By bmathers
stupid simple question

how can i output an image in this code;

$config["M_Paintball_100"]="
<h1>Times:</h1> 9.45am – 2pm or 11.30am – 3.30pm on a half day, full day 9.45am – 3.30pm.
";

everything ive tried doesnt seem to...
Forum: Absolute Beginners 02-18-2008, 02:32 PM
Replies: 23
Views: 1,360
Posted By bmathers
Im not too bothered about trying to save the...

Im not too bothered about trying to save the data, as its just a reference tool. They arent actually buying anything.

Is there not a way when the tailormade.php page opens (or the session starts) it...
Forum: Absolute Beginners 02-18-2008, 10:39 AM
Replies: 23
Views: 1,360
Posted By bmathers
the quote is nothing, it is just the total price...

the quote is nothing, it is just the total price of the events they selected. Like a final bill that will be sent to the company. The problem is that it needs to be reset to nothing when the user...
Forum: Absolute Beginners 02-18-2008, 09:37 AM
Replies: 23
Views: 1,360
Posted By bmathers
sorry mate, im getting confused myself. OK, let...

sorry mate, im getting confused myself. OK, let me start from the begining.

Might be useful to look at Nottingham Stag Weekends (http://www.planetredevents.co.uk/demo/NottinghamStagTailor.php)

The...
Forum: Absolute Beginners 02-18-2008, 09:07 AM
Replies: 23
Views: 1,360
Posted By bmathers
ok getting somewhere, it now clears the data...

ok getting somewhere, it now clears the data stored when using the back buttons, but doesnt if the view the quote, if the user navigates somewhere else in site, then starts a new quote, even if they...
Forum: Absolute Beginners 02-18-2008, 08:15 AM
Replies: 23
Views: 1,360
Posted By bmathers
ok thanks for the replies, ill have a look at it.

ok thanks for the replies, ill have a look at it.
Forum: Absolute Beginners 02-17-2008, 09:39 PM
Replies: 23
Views: 1,360
Posted By bmathers
so where in the code would i include this? or are...

so where in the code would i include this? or are you saying it wouldnt work SOCK??
Forum: Absolute Beginners 02-17-2008, 09:38 PM
Replies: 23
Views: 1,360
Posted By bmathers
<?php session_start(); ?> <!DOCTYPE html PUBLIC...

<?php
session_start();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>

<title>Leeds Stag Weekends</title>
<meta...
Forum: Absolute Beginners 02-17-2008, 09:36 PM
Replies: 23
Views: 1,360
Posted By bmathers
the code is extremely long winded becuase there...

the code is extremely long winded becuase there is alot of html as well, but i can post it up.
Forum: Absolute Beginners 02-17-2008, 08:42 PM
Replies: 23
Views: 1,360
Posted By bmathers
how do i do that, sorry i am a complete beginner,...

how do i do that, sorry i am a complete beginner, someone else wrote the code for me but are unattainable at the moment
Forum: XHTML, HTML, CSS 02-17-2008, 08:37 PM
Replies: 4
Views: 994
Posted By bmathers
Tables??

Im new to the web design game and trying to learn everything i can, ive heard people say stay away from using tables, why is this? What are the advantages/disadvantages and other methods?
Forum: Absolute Beginners 02-17-2008, 08:07 PM
Replies: 23
Views: 1,360
Posted By bmathers
the problem is that the data is saved when moving...

the problem is that the data is saved when moving away from that page, the data is saved between each stage but the data is stored from their previous qoute. I need it to clear the previous quote
Forum: Absolute Beginners 02-17-2008, 05:32 PM
Replies: 23
Views: 1,360
Posted By bmathers
its reall long winded, but have alook here to see...

its reall long winded, but have alook here to see if what im taling about makes sense,

Bristol Stag Weekends (http://www.planetredevents.co.uk/demo/BristolStagTailor.php)

if it doesnt i will post...
Forum: Absolute Beginners 02-17-2008, 04:52 PM
Replies: 23
Views: 1,360
Posted By bmathers
refresh, clear (dont know)????

ive got some php code created by a friend for me, it basically goes through 5 stages where the user can select different options(stage1: daytime events, stage2: evening events, stage3: hotels,...
Forum: Absolute Beginners 02-15-2008, 05:11 PM
Replies: 3
Views: 940
Posted By bmathers
here it is, quite long winded im afraid <? ...

here it is, quite long winded im afraid


<?
$page = "tailormade";

if ($_REQUEST['cmd'] == "start") { unset($_SESSION); session_destroy; }
if ($_POST['step'] == 2) {
/* echo '<br /><br...
Forum: Absolute Beginners 02-15-2008, 05:03 PM
Replies: 3
Views: 940
Posted By bmathers
clearing memory

ive got some php code created by a friend for me, it basically goes through 5 stages where the user can select different options. The 4th stage is a quote, but once ive filled it in and then go onto...
Forum: XHTML, HTML, CSS 02-15-2008, 02:54 PM
Replies: 4
Views: 1,069
Posted By bmathers
thanks for the reply, i know i can do that but i...

thanks for the reply, i know i can do that but i only want the required fields a different color. so i can only do it individually.
Forum: XHTML, HTML, CSS 02-15-2008, 02:32 PM
Replies: 4
Views: 1,069
Posted By bmathers
making text boxes a different color?

hi,

im sure this is simple but im having trouble making some of my text input boxes a different color. This is the form,

<input name="Email" type="text" id="Email" size="50"/>

and this is how i...
Forum: Absolute Beginners 02-14-2008, 05:21 PM
Replies: 15
Views: 886
Posted By bmathers
cheers guys, sorry for being a fool. Ive got it...

cheers guys, sorry for being a fool.

Ive got it now, was trying to rush it and not thinking about it
Forum: Absolute Beginners 02-14-2008, 04:02 PM
Replies: 15
Views: 886
Posted By bmathers
ithought that was the case but im still having...

ithought that was the case but im still having trouble, im getting this error now




this is line 93 and its function;


function isValidForm($strTempName, $strTempTelephone, $strTempMobile,...
Forum: Absolute Beginners 02-14-2008, 03:39 PM
Replies: 15
Views: 886
Posted By bmathers
If, else and ==

Hi, im pretty new to php, ive got some code see below from a contact form, but i need to match the email and confirm email fields, how can i do that.


if(isValidForm($strTempName, $strTempTelephone,...
Showing results 1 to 25 of 28

 

All times are GMT. The time now is 11:47 AM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design