I believe this line is incorrect as well!
<h6><?php getContent($story);?></h6>echo $story;
Your echo $story; needs to be within your <? ?> tags
www.goplanetgo.co.uk
Hi
This is a strange one.
I have a Win XP Professional on my Laptop, with a wireless connection.
Everything has been working fine until a few days ago. I can't do a restore because for some reason I don't have any restore points this in January even though system restore settings is...
Just in case anyone else wanted to know how to do something similar, I solved this by simply having another query within my array:
while($row = mysql_fetch_array($result)){
put your second query here... SELECT * FROM ..
WHERE cust_id = $row[cust_id]
Then I used...
Hi
I just solved the problem!
$filename = "http://www.mywebsite/images/$_GET[fullpic]";
is incorrect!
You have to use:
$filename ="/home/mywebsite/images/$_GET[fullpic]";
Thanks anyway
www.goplanetgo.co.uk
Hi
I am trying to remove an image file from a webserver and have got 777 permissions on the directory but cannot remove the file.
I know the action part is working and it is entering the IF statement! And I know that the $filename returned can be accessed when I paste it into a web browser...
I'm pretty new to PHP as well but I believe it forces the variables to repost and hence eliminate that dreaded problem with IE browsers.
www.goplanetgo.co.uk
Hi
I had the same problem and did the following:
Place this code at the top of your php file.
header("Expires: Sat, 01 Jan 2000 00:00:00 GMT");
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
header("Cache-Control: post-check=0, pre-check=0",false)...
Can anyone help?
I have a running PHP application on an apache web server online.
I have a laptop running mysql 4 and PHP 4.3.9 on Windows XP.
I have exported from my online application via an SQL file and imported into my laptop with all the identical PHP files for my application.
However...
No, I can't use the same query for the results because the query is determined by a search page and I don't want to join the 2 tables together in one query because it will not perform the correct search results.
Is it possible to reference another query result for my last table column variable...
I have a query that produces the results which displays what I need from my query except the last column in my table needs to have its result from a different query.
while($row = mysql_fetch_array($result)){
echo "<tr><td>$row[cust_id]</td>";
echo "<td>$row[cust_name_last]</td>";
echo...
I think, if memory serves me correct - that in coldfusion, you can call a page and test to see if the headers are for a valid page - and so do a redirect if the page is going to throw an error.
I was just wondering if something was possible in PHP!
www.goplanetgo.co.uk
It's not the back button - the same code works on 99% of the other pages. It seems to be problematic when being used after performing a search!
www.goplanetgo.co.uk
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.