CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: pjb007

Search: Search took 0.02 seconds.

  1. Replies
    3
    Views
    1,166

    Re: Drop down menus - changeing content

    Thanks, I thought it could be a JavaScript. Looked at W3Schools and can't see anthing along the lines of what I want.
  2. Replies
    3
    Views
    1,166

    Drop down menus - changeing content

    I have 2 drop down menus.

    In the first I have England, Wales Scotland etc.

    In the second I would like content based on whats selected in the first, so if Wales is selected in the first drop...
  3. Replies
    4
    Views
    682

    Re: Java Script in ASP

    Great, got it working, thanks :D
  4. Replies
    4
    Views
    682

    Re: Java Script in ASP

    Yes the bold parts are where the record set bits are in the other bit of code I posted.

    I will give the above a try.
  5. Replies
    4
    Views
    682

    Java Script in ASP

    This may sound a bit odd, but I am trying to mix JavaScript onclick event into ASP.

    I have ASP code to make a list of links from a database, that code looks like this



    Response.Write "<a...
  6. Replies
    1
    Views
    6,729

    Re: Ajax Links on ASP page - not working

    Problem solved.

    The contentarea I had set as a div class and it needed to be div id.
  7. Replies
    1
    Views
    6,729

    Ajax Links on ASP page - not working

    I have a ASP Page and thought I'd try this out

    http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm

    Except using an external JS file, however I just can not get the links to work.
    ...
  8. Replies
    14
    Views
    806

    Re: Showing part of a string

    It's working!

    Thanks all for your help!
  9. Replies
    14
    Views
    806

    Re: Showing part of a string

    Here is what I should have put


    <?php echo substr($row_rsNewsItems['newsBody'], 0, 150); ?>.....<a href="news_detail.php?newsId=<?php echo $row_rsNewsItems['newsId']; ?>" title="View: <?php...
  10. Replies
    14
    Views
    806

    Re: Showing part of a string

    Can I ask what the 0 does in that bit of code.

    Should the 10 show 10 words?

    Oh the 404 error problem is fixed!
  11. Replies
    14
    Views
    806

    Re: Showing part of a string

    Thanks.

    It won't work, all I get is the ..... (more) link (goes to 404 error)

    My guess is I copyed the table rows down incorrectly before.


    I got somthing a while back so I'm on the right...
  12. Replies
    14
    Views
    806

    Re: Showing part of a string

    Thanks for your replies but I just don't understand how to put it in to my code. I tried both above and can't get them to work.

    I better leave it to removeing characters, I don't like it but it...
  13. Replies
    14
    Views
    806

    Re: Showing part of a string

    Thanks for your reply!

    I'm a newbie to PHP

    I assume that these are the three lines I need?


    <?php
    //Number of words in chunk of text
    $show = 22;
  14. Replies
    14
    Views
    806

    Showing part of a string

    Using PHP/MySQL database

    So far this is the code



    <?php echo substr($row_rsNews['newsArea'], 0, 150); ?>.....<a href="news_item.php?newsId=<?php echo $row_rsNews['newsId']; ?>"...
  15. Replies
    2
    Views
    8,553

    JavaScript on Form Action

    I have a form that works when the form action is set to


    form action="login/login.php"

    That works find it displays the error if the details are missing/incorrect and displays the correct...
  16. Replies
    6
    Views
    1,143

    Re: Installing Netbeans

    Thanks, I will stick with 4.1 it whats used here at uni, only my machine is far far quicker than the ones at uni.


    Anyway all seems to be working now.

    Thanks for your help.
  17. Replies
    6
    Views
    1,143

    Re: Installing Netbeans

    Thanks for that :D
  18. Replies
    6
    Views
    1,143

    Installing Netbeans

    I am trying to install Netbeans 4.1 but get this message any ideas?



    J2SE Runtime Enviroment 5.0 Update 4 is showing in my Add/Remove list on Windows XP
  19. Replies
    0
    Views
    1,005

    Dynamic WAP Sites

    I am looking at wml at the moment, and discovered that you could get it to pull data out of a database, I have put this to the test but it does not seem to work.

    Here is my code for a simple wml...
  20. Replies
    3
    Views
    814

    Re: Hyperlinks From Database

    I have found it works if you store the URL without the http:// and use the below code.



    RSUser.movefirst
    Do while not RSUser.EOF
    Response.Write ("<p>")
    Response.Write ("<a href=" &...
  21. Replies
    3
    Views
    814

    Re: Hyperlinks From Database

    Here is the code (I have just taken the code between the body tags)



    <table width="100%" border="0">
    <tr valign="top">
    <td width="21%"><!-- #include file="nav/left.asp" --></td>
    ...
  22. Replies
    3
    Views
    814

    Hyperlinks From Database

    I am writing my ASP by hand rather than using ASP.NET as that is not available to me.

    I have a database in that MS-Access database is a table called links

    In that table there are 4 columns:...
  23. Replies
    2
    Views
    1,925

    Re: HOW: formatting date in sql

    Useful code,

    I used it to get a date in the form mm/dd/yy (I am in UK but needed to do this)

    Is there a way to get a date to show like this
    Thursday October 14, 2004 (note just one , ) also...
Results 1 to 23 of 23





Click Here to Expand Forum to Full Width

Featured