dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: Nedals

Page 1 of 20 1 2 3 4

Search: Search took 0.04 seconds.

  1. Thread: PHP variables

    by Nedals
    Replies
    6
    Views
    2,210

    use $_POST['note'], not $note

    use $_POST['note'], not $note
  2. Replies
    3
    Views
    1,669

    If you are simply displaying images per your...

    If you are simply displaying images per your example, it's probably a lot easier to simply center the image groups in a single cell.
    The javascript 'for' loop is attempting to set 16 images, but...
  3. Replies
    17
    Views
    4,434

    ../css/footer.css does not look right. Are...

    ../css/footer.css does not look right.

    Are index.css and footer.css in the same directory?
    If so it should be <link href="css/footer.css"....

    If not, what does your directory structure look...
  4. <div style="width:500px; height:200px; overflow:auto">
    ...
    content
    ...
    </div>
  5. Replies
    6
    Views
    1,967

    You could code this in PHP, ASP, or even...

    You could code this in PHP, ASP, or even Javascript but that's not the problem.
    The problem here is trying to figure out what you are supposed to do.
    (This is not really a test in programming, but...
  6. Replies
    6
    Views
    1,967

    I'd be interested to see the 'small test' to get...

    I'd be interested to see the 'small test' to get better undestanding of what you "cannnot do" after completing a University course. You can post it as a .txt attachment.

    This, alas, is not an...
  7. Replies
    2
    Views
    958

    if (clicked_page == 'page_two')... NOT if...

    if (clicked_page == 'page_two')... NOT if (clicked_page = 'page_two')
    same for 'else if'
  8. Replies
    4
    Views
    2,314

    Why not simply ... "SELECT * FROM biddings...

    Why not simply ...


    "SELECT * FROM biddings WHERE deviceID='".$pp2['deviceID']."' ORDER BY bid LIMIT 1"

    Will return the lowest value of 'bid' (ORDER BY ... ASC is default)
  9. Replies
    4
    Views
    1,567

    ...

    <!doctype html>
    <html lang="en">
    <head><title>untitled</title>

    <script type="text/javascript">
    var EleSym = ['sa','sb','sc'];
    var EleName = ['na','nb','nc'];
    function ElemOptions() {
    var...
  10. Replies
    9
    Views
    3,779

    Interesting response :) I don't think that's...

    Interesting response :)


    I don't think that's the downside. After all, any site not self-hosted would suffer from the same problem. In fact, most cloud sites give you 'root' access to the spun-up...
  11. Replies
    4
    Views
    1,094

    Which columns (td's) can be removed will depend...

    Which columns (td's) can be removed will depend on the whole table structure.
    Add a border=1 in your <table> tag to see how the rowspan is being used.
  12. Replies
    7
    Views
    1,935

    Assuming you want ALL your type='text' inputs to...

    Assuming you want ALL your type='text' inputs to get the onkeydown event, I do it this way..


    function addevents() {
    var df = document.formname;
    for (var i=0; i<df.length; i++) {
    if...
  13. Replies
    3
    Views
    2,986

    I'm not sure what you are trying to do, but the...

    I'm not sure what you are trying to do, but the following will possibly do what you want.


    if (!/^(po|p\.o|p\.o\.) box/i.test(variable)) {....

    However, typically you would validate what you...
  14. Replies
    3
    Views
    2,986

    Try: /^(po|p\.o|p\.o\.) box/i Note: () in...

    Try:
    /^(po|p\.o|p\.o\.) box/i

    Note:
    () in the OR part
    i option making it case insensitive
  15. Replies
    19
    Views
    9,271

    That was a typo on my part if ($aryA->[0] eq...

    That was a typo on my part
    if ($aryA->[0] eq ??? && $aryB->[0] eq ???) { should have been if ($aryA_ref->[0] eq ??? && $aryB_ref->[0] eq ???)

    Not sure what you are trying to do.

    Are @time...
  16. Replies
    19
    Views
    9,271

    So what's the problem? You almost did it already...

    So what's the problem? You almost did it already :)


    my @arrayC = example(\@arrayA, \@arrayB);

    sub example {
    my ($aryA_ref, $aryB_ref) = @_;
    my @arrayC = ();
    if ($aryA->[0] eq ??? &&...
  17. Replies
    1
    Views
    837

    I'm no expert in PHP, but I have no idea what...

    I'm no expert in PHP, but I have no idea what this is...


    rewrite ^((?!wordpress-1)/wp-.)*$ /wordpress-1$1 last;


    Try...


    $output_str = preg_replace('/wordpress-1\/.+?\/wp-/',...
  18. Replies
    20
    Views
    4,386

    Try this. You will need the JOIN for newer...

    Try this. You will need the JOIN for newer version of mySQL


    SELECT es.id, DATE_FORMAT(es.event_date,'%M %d, %Y') AS date, TIME_FORMAT(es.event_time,'%h:%i %p') AS time FROM jos_event_schedules...
  19. Replies
    6
    Views
    2,705

    Expanding an WolfShade's reply This is a...

    Expanding an WolfShade's reply

    This is a nested trenary expression.
    A basic ternary looks like this

    result = (condition) ? result_if_true : result_if_false

    I dislike leaving out optional...
  20. Replies
    1
    Views
    762

    Error messages to Browser

    I'm on day 4 of my entry into PHP. I'm very conversant with Perl so programming is not new.
    I'm getting periodic errors in my code and would like to show ALL error and warning messages on the...
  21. Replies
    5
    Views
    1,324

    Perhaps cart_total has not been defined

    Perhaps cart_total has not been defined
  22. Replies
    3
    Views
    776

    Always include a doctype:

    Always include a doctype: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    -or- <!doctype html> (...the must easier HTML5>

    <script...
  23. You joined this Forum in Sep 2008, have posted 51...

    You joined this Forum in Sep 2008, have posted 51 times, and you really cannot figure out how to remove 2 checkboxes from that code. :(

    Why don't you try, and post your new code if you are still...
  24. Replies
    14
    Views
    2,792

    Is this what you mean? (You do use strict, don't...

    Is this what you mean?
    (You do use strict, don't you?. I don't see any 'my' in your code)


    my @bodyshow = ('image.jpg','image.jpg','image.jpg');
    my ($count, $tagim) = (0, '[img]');
    for...
  25. So, you got me thinking.... and here's what I...

    So, you got me thinking.... and here's what I came up with.


    <!doctype html>
    <head><title>untitled</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <meta...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4
HTML5 Development Center



Recent Articles