CSS is for the design, tables are not intended for website designs, and should only really be used if they must be.
JS = Javascript
AJAX = asynchronous JavaScript and XML
A text based game isn't simple, and if you don't know how to code in any web langauges then you have a long way to before you will be able to make it.
Try learning HTML,CSS,PHP,MYSQL, and maybe JS & AJAX.
http://uk.php.net/manual/
This website should be your number one website to check how to use all php functions.
This is what is meant about headers.
http://uk.php.net/manual/en/function.mail.php
No.....! mine is simplest, he can edit it easily and doesn't need to know regex
Or not, lol, just tested it.
Regex is the best way unless you want a even more complex code.
Yes but he won't be using print_r, yours will get any numbers ? am i right, even ones not inside of parenthesis?
To solve it he can do
<?php
$var = "This complete set include the following parts: (12345), (12346), (12347)";
$var = explode("(",$var);
$arr = array(")",",");
$var = str_replace($arr,"",$var);
for($i = 1;$i < count($var);$i++)
{
echo $var[$i]."<br>";
}
?>
Did you google what i said? if you did then you would of known i wasn't
Next time don't jump to conclusions just because you don't understand the terminology
are you joking?
$tobestripped // guess what it should be maybe the variable that is to be stripped
$stripped // again guess, if you don't what it is then go and learn php
We are showing the means of doing it, not writing it for you.
Undefined index or variable means it isn't defined.
<?php
$var = "test";
echo $v;//will create an error Undefined variable:
//or
echo $_POST['test'];/*will create the error Undefined index: as will $rows['test']; when there is no row in the table called test*/
?>
<form method="post">
<input name="test1">
</form>
It will allow any tags that are in the array, but a warning i would not allow any tags that can have javascript elements, e.g. <a href="#" onClick="alert('you have been hacked');">Hacked</a>
As this can really mess up your site.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.