Search:
Type: Posts; User: kurby
Search :
Search took 0.02 seconds.
if($season && !$episode)
I think thats what your asking for?
SELECT * FROM
bomparent
JOIN bomchild USING(partnum)
WHERE bomparent.partdesc IS LIKE 'PG50%' AND bomchild.partdesc IS NOT LIKE 'PG50%'
Nothing in the code that you provided looks wrong. Perhaps it could be in form construction that you didn't provide.
Have you checked the $_SESSION status at each stage? print_r($_SESSION); at...
I assume this is T-SQL which I am less familiar with. MySQL would let you just group by FAQid arbitrarily and that would eliminate any extras.
I have a couple ideas though that you can try. You...
Did you try to group by faq_id?
Your function isn't being defined. It needs to be included in the page before you call it.
Whats the error fro the second one?
Do you have this up on the web somewhere? Have you run it through a validator? Most cross-browser mess ups can fixed with validation.
Where is the element with ID='name'?
document.getElementById ('name');?
if(empty($_GET['id']))
{
//No ID sent, redirect header?
header('Location: otherpage.php');
}
Its a different page now and it did make a difference. You have bugs in your code, and fixing one reveals another.
You refer to week1 in your forms[0] but there is no week1 in your page.
There is only one form on your page. The forms array starts at element 0, so forms[1] refers to the second form. Perhaps you want forms[0].
Have you tried any debugging procedure? You will never get anything to work if you don't learn how to debug.
In chrome:
Open your page, click the page button in the top right and then Developer...
Maybe nobody can answer it cause nobody understands what you want. I know I don't get it. Maybe you can explain it differently?
1)
if(strlen($_POST['password']) < 8))
$error = 'Password needs to be 8 chars.';
2)
if($_POST['radio'] == 'B')
{
if(empty($_POST['B1']))
{
PHP is always a good starting point, and a simple mail script shouldn't be too hard to figure out.
Read something like this: http://www.w3schools.com/php/php_mail.asp
Maybe http://www.w3schools.com/CSS/pr_dim_min-width.asp
Templating seems to be the new fad that gets overused. Don't over-complicate simple things. Learn when templating is useful but don't blindly use it just for the sake of it. My experience with...
http://www.dynamicdrive.com/style/layouts/item/css-top-frame-layout/
This is an example of a static top div using css.
Here is a nice tutorial to show you the power of divs and css positioning....
<?php
if (empty($pages[0]))
{
include("home_text.php");
}
?>
right after $pages = explode("|",$_GET['p']);
within the PHP tags. It will tell you the content of $pages, which is what determines what is pulled onto the page. If you see that your "homepage"...
put a print_r($pages); on that page. It will show what is set for each page.
Null values from your query won't be NULL they will be an empty string. You can use empty().
In a manner of speaking, you need multiple queries. COUNT is an aggregate function and requires grouping. However, there are multiple ways to attack this. You could create the multiple queries and...