Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by sinbadly

  1. sinbadly

    When COUNT counts wrong

    Yes, I am in the wrong section. Sorry, Feherke.
  2. sinbadly

    When COUNT counts wrong

    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?
  3. sinbadly

    Find the right 'if' for the code

    Thanks, vacunita, that seems to be the way to go. Much obliged to you.
  4. sinbadly

    Find the right 'if' for the code

    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...
  5. sinbadly

    Empty hyperlink field

    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...
  6. sinbadly

    Enabling java?

    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...
  7. sinbadly

    Enabling java?

    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.
  8. sinbadly

    Enabling java?

    No, it doesn't work in a browser.
  9. sinbadly

    Enabling java?

    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?
  10. sinbadly

    updating table 2 table

    Many thanks, feherke. Much obliged.
  11. sinbadly

    updating table 2 table

    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?
  12. sinbadly

    Current date function

    Many thanks, gentles. Seems to be working well.
  13. sinbadly

    Current date function

    How can I have the date field in the form automatically enter the current date as soon as something is added to the form, please?
  14. sinbadly

    eregi_replace not working

    Vagrabond, many thanks about the span instead of div. Will follow that from now on. Cheers.
  15. sinbadly

    eregi_replace not working

    Sorry, Dark Arts, I mean, for fear of causing offence.

Part and Inventory Search

Back
Top