www.webdeveloper.com

Search:

Type: Posts; User: JTweedie

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. Why do you need to PM me? It's just as easy to...

    Why do you need to PM me? It's just as easy to discuss the issue here.

    Regarding the replacement of particular instances of the start/end marker, if you're perfoming multiple replacements, it's...
  2. Also, if you don't know whether the marker will...

    Also, if you don't know whether the marker will contain a linebreak or not, you could just use the replace function to remove all occurances of line-breaks prior to performings the marker...
  3. To replace a marker that contains a linebreak,...

    To replace a marker that contains a linebreak, just include the linebreak in your marker variable, e.g.

    $markerBegin = '<script type="text/javascript">
    function pmc_ads_interruptus_single() {';...
  4. Replies
    2
    Views
    808

    Hi Rava, As far as I know, I don't think this...

    Hi Rava,

    As far as I know, I don't think this is possible with PHP alone.

    When the client's browser submits the form, it will wait for a response from the server. So if you submitted that form...
  5. The other thing to be aware of is that in the...

    The other thing to be aware of is that in the code I provided, PHP won't be aware of the results of the AJAX query, because the query isn't executed until it reaches the client.
  6. No; that would not work. (If you tried it, you'd...

    No; that would not work. (If you tried it, you'd find out much quicker than asking)

    This should work, but it is pretty pointless really :


    <!DOCTYPE html>
    <html lang="en">
    <head>...
  7. Replies
    11
    Views
    1,753

    It's a while since I've used MySQL, and I've used...

    It's a while since I've used MySQL, and I've used SQL Server a lot since then, so might be getting confused, but I think the problem is the quotes in your field list. You don't need the quotes...
  8. Replies
    0
    Views
    1,462

    Emails Routed Through Blacklisted Server

    Hi Guys,

    I'd appreciate any help on this, as servers and emails are not my strongest point.

    Basically, I have a reseller account with a hosting company. This includes the ability to resell...
  9. Yeah; I think it didn't work last time due to the...

    Yeah; I think it didn't work last time due to the attributes of the parent element that I was putting it all in. It works now.

    Thanks mate :) I feel much happier doing it that way.
  10. I tried something similar to that as a...

    I tried something similar to that as a work-around, but it didn't work for my page. Maybe something else in my CSS was stopping it from working. I'll have another look at it, because if I can do it...
  11. Yea, that seems to be the conclusion everywhere I...

    Yea, that seems to be the conclusion everywhere I look :(

    I found a page which suggested you could get around it with RGBa backgrounds, but although the article claimed it was supported by all...
  12. High Opacity Elements Inside Low Opacity Elements

    Hi Guys, I've been playing around with this for a while now, and I think it's time to ask for help.

    Basically, I want a div on my page which has an opacity of 20%. But I want certain contents of...
  13. Replies
    4
    Views
    1,864

    Ahh... I just fixed it. There was some rogue...

    Ahh... I just fixed it.

    There was some rogue code at the bottom of menu.php; I haven't a clue why that code was even there! What was I thinking?

    Thanks anyway :)
  14. Replies
    4
    Views
    1,864

    Sorry, I probably should have included this file...

    Sorry, I probably should have included this file :


    <?php
    include('menu.php');
    class ContentList {
    var $id;
    var $parent;

    function getId() {
  15. Replies
    5
    Views
    1,710

    Oh; I just realised what you're trying to do;...

    Oh; I just realised what you're trying to do; you're storing PHP commands as a string variable, and trying to execute the command by putting the variable name...

    ...Yeah...Not the way to do it.
    ...
  16. Replies
    5
    Views
    1,710

    I wonder if that is the problem? Maybe he is...

    I wonder if that is the problem? Maybe he is expecting output and not getting any. Surely it can't be that can it?
  17. Replies
    5
    Views
    5,012

    I doubt there is a way to compile PHP into an...

    I doubt there is a way to compile PHP into an EXE, but I suppose you could do something similar.

    You could build a simple program in something such as VB. Just build a form, add a browser control...
  18. Replies
    4
    Views
    1,864

    PHP Class Returning Code

    For some reason, when I include this file, it outputs some code. The very strange thing is, that it returns some variables which I haven't even set yet!


    <?php
    include('contentlist.php');...
  19. Replies
    1
    Views
    1,068

    I'm not an expert, but I'll give you my educated...

    I'm not an expert, but I'll give you my educated guess...

    The computer has the ability to send and receive data from the printer, so it shouldn't have any problem requesting the printer to scan,...
  20. Replies
    17
    Views
    2,078

    Tirna's code should work too.

    Tirna's code should work too.
  21. Replies
    17
    Views
    2,078

    Another good point:

    Another good point:



    <?php
    $rowcount = mysql_num_rows($rs) / 4;
    if ((mysql_num_rows($rs) &#37; 4) > 0)
    $rowcount++;
    for ($x=0;$x<$rowcount;$x++) {
    echo '<div>';
  22. Replies
    17
    Views
    2,078

    Good point; if forgot a couple of lines: ...

    Good point; if forgot a couple of lines:



    <?php
    $rowcount = mysql_num_rows($rs) / 4;
    if ((mysql_num_rows($rs) % 4) > 0)
    $rowcount++;
    for ($x=0;$x<$rowcount;$x++) {
    ...
  23. Replies
    17
    Views
    2,078

    If you want to split the images four per DIV, you...

    If you want to split the images four per DIV, you can adapt Tirna's code to this:



    <?php
    $rowcount = mysql_num_rows($rs) / 4;
    if ((mysql_num_rows($rs) &#37; 4) > 0)
    $rowcount++;
    ...
  24. Replies
    5
    Views
    3,648

    I used that link to check the status of the DNS....

    I used that link to check the status of the DNS. It says "Nameserver records returned by the parent servers are:" ns1.safeukdns.net and ns2.safeukdns.net, which are the new nameservers.

    But it...
  25. Replies
    5
    Views
    3,648

    It's now been at least 72 hours since the...

    It's now been at least 72 hours since the nameservers were changed. The email problem sorted itself out, but the other domain name is still pointing to different servers. The CNAME record exists to...
Results 1 to 25 of 104
Page 1 of 5 1 2 3 4
HTML5 Development Center



Recent Articles