That's a SQL problem, nothing to do with PHP.
You've forgotten a JOIN clause.
-
Skrol29
www.tinybutstrong.com
-
PartyPosters a écrit :
I can't figure out what I am doing wrong,
this sql string seems to filter out the information I want but it duplicates
the
I'm not sure, but I just know that if you need to select the information
from two tables (and not just from one),
you should use JOIN syntax ( http://dev.mysql.com/doc/mysql/en/join.html )
Hope this helps,
Lab.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.p
I'm not sure, but I just know that if you need to select the information
from two tables (and not just from one),
you should use JOIN syntax ( http://dev.mysql.com/doc/mysql/en/join.html )
Hope this helps,
Lab.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.p
On Tue, 14 Sep 2004 18:32:50 +0800, Jason Wong <[EMAIL PROTECTED]> wrote:
> On Tuesday 14 September 2004 18:06, Logan Moore wrote:
> > Ok I think I figured out my own problem. The speechmarks in the Form break
> > up the speech marks in the echo statement so I originally changed the echo
> > statem
On Tuesday 14 September 2004 18:06, Logan Moore wrote:
> Ok I think I figured out my own problem. The speechmarks in the Form break
> up the speech marks in the echo statement so I originally changed the echo
> statements speechmark to a ' which worked but was informed that this was
> considered ba
First of all, I'd use something like this:
-- CODE --
.
Foo
-- END --
But the actual error is in the echo. You're having quotation marks
inside it. You need to do it my way, or write the form like
echo "...";
?>
Niklas
Logan Moore wrote:
I am currently coding a cms. So f
Ok I think I figured out my own problem. The speechmarks in the Form break
up the speech marks in the echo statement so I originally changed the echo
statements speechmark to a ' which worked but was informed that this was
considered bad syntax and that maybe I should add a \ in front of all
speech
Sorry I hadn't read well, yes use if(!($i %3)) echo "lala";
--
Nicos - CHAILLAN Nicolas
[EMAIL PROTECTED]
www.WorldAKT.com - Hébergement de sites Internet
<[EMAIL PROTECTED]> a écrit dans le message de news:
[EMAIL PROTECTED]
> Hi,
>
> On every loop, just put the text you want to add to a varia
Hi,
On every loop, just put the text you want to add to a variable.
like
if($i == 0) echo "first print";
elseif($i == 1) echo "second";
elseif($i == 2) echo "third"; etc...
--
Nicos - CHAILLAN Nicolas
[EMAIL PROTECTED]
www.WorldAKT.com - Hébergement de sites Internet
"Cirkit Braker" <[EMAIL PR
add the following:
if( $i % 3 == 0 ) {
print("something else");
}
You might need to vary the zero in that equation to get it to print at the
"right time" by which I mean, the above will print "something else" on the
first iteration of the below loop.
-philip
On Wed, 4 Sep 2002, Cirkit
10 matches
Mail list logo