When I ask the table for this precise number of rows ...
$result2 = @mysql_query("SELECT COUNT(*)AS t FROM 067staff WHERE m = '10' ");
... it doesn't. I'm using it for pagination on the website, but it shows every page as the last page.
Is there a way to make the code behave, please?
This is an example of the way I get a list of articles to appear on the webpage. I use a small image beside each brief piece of text.
However, sometimes there isn't an image.
How can I say within this code then, if there isn't an image, go straight onto the text, please?
In different...
I append some urls into a hyperlink field in the form. When I right-click to 'edit hyperlinks', I see that 'Text to display' has the url, but 'Type the file or web page name' is blank.
The url has to be in that empty field for the hyperlink field to work.
How can I code the form so that the...
Starblood, I put this is in the page's head section ...
<script language="javascript1.2">
<!--
//Smart Folding Menu tree- By Dynamic Drive (rewritten 03/03/02)
//For full source code and more DHTML scripts, visit http://www.dynamicdrive.com
//Code Generated by www.SearchBliss.com
var...
Thanks, starblood. I'll try the idea about loading the code via notepad, and report back. Many thanks for advice about dw and js. No, I've been trying it on localhost, so there isn't a lnk. Soon as I get a break to try it, I'll come back. (Probably Sunday at the present rate.) Cheers.
I haven't used javascript in dreamweaver8, but now I'd like to. But when I insert the code, it looks, well, dead compared to my php code. Is some enabling necessary to use java, please?
I would like to update a mysql table1 field4 where id 12 from table2 field5 where id is 14.
Is that sort of thing possible, please, experts? And how would the code go, please?
Won't work properly without that <p> there though, Vragabond. At least, that's the way it was. However, all noted, and will try that.
Justin, strip_tags() works perfectly. There's just one problem left now, and that's if I say LEFT(story, 200), often part of a word shows. I wonder if there's...
Looks brilliant, Justin. Thank you. One thing, though, is that the line in the articles with the dropcaps has this marking ...
<p><div class="dropcaps">W</div>hat Mr Adie advises his clients is ....
So won't I have to get rid of that '</div>' somehow?
Um, I wonder if I'm not making myself very clear. Sorry, if this is the case.
The drop caps et al work very well in the proper place. Instead of writing a blurb about each article (as I do currently) I want to have just a sentence or so appear to tempt the reader in.
In this position, as a...
Well, it does some very interesting things to the page, but doesn't exactly give the look that is desired.
At first, I thought the php function that removes html characters would be the thing, but then I learned that it changes the characters into &things; and that wouldn't help.
The articles...
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.