Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #12341

Re: Include gives warning

From Derek Turner <frderek@cesmail.net>
Newsgroups comp.lang.php
Subject Re: Include gives warning
Date 2013-12-21 18:26 +0000
Message-ID <bhm4qmFev65U1@mid.individual.net> (permalink)
References <1ntef0hrqukct$.1ps7dz7dar5gu$.dlg@40tude.net>

Show all headers | View raw


On Sat, 21 Dec 2013 10:36:29 -0500, richard wrote:

> I am attempting to make this work on the home page but the warnings keep
> coming.
> Anything that is echoed returns nothing or zero.
> Because $year is NOT being acquired properly.
> So how do I make it work right?
> 
> Now let us not dick around with bashing me over my past and current
> faults.
> Or PROBABLE errors such as the use of the iframe.
> Bash me, don't expect a reply.
> 
> 
> 
> <?php $year=$_GET['b'];
> echo $year;
> ?>
> <div id="wrapper">
> 
> <div id="acol" style="float:left; width:3in; height:8in; overflow:auto;
> border:solid 2px #f00;">
> 
> <?php include  "http://mroldies.net/artists/".$year."artists.php";
> 
> echo $art60[1][0];
> echo "<br>";
> $rows=count($art60);
> echo $rows;
> ?>
> 
> </div>
> 
> http://mroldies.net/artists/

RTFM on the correct way to use include. HINT it has to be the true path to 
a file on your server.

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Include gives warning richard <noreply@example.com> - 2013-12-21 10:36 -0500
  Re: Include gives warning richard <noreply@example.com> - 2013-12-21 11:03 -0500
  Re: Include gives warning Derek Turner <frderek@cesmail.net> - 2013-12-21 18:26 +0000
    Re: Include gives warning Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2013-12-21 14:02 -0500
    Re: Include gives warning Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-12-21 20:24 +0100
    Re: Include gives warning richard <noreply@example.com> - 2013-12-21 14:36 -0500
      Re: Include gives warning "Beauregard T. Shagnasty" <a.nony.mous@example.invalid> - 2013-12-21 22:09 +0000
      Re: Include gives warning Denis McMahon <denismfmcmahon@gmail.com> - 2013-12-21 23:46 +0000
      Re: Include gives warning Evan Platt <evan@theobvious.espphotography.com.invalid> - 2013-12-21 19:42 -0800
  Re: Include gives warning Luuk <luuk@invalid.lan> - 2013-12-22 16:11 +0100

csiph-web