Jump to content

Search the Community

Showing results for tags 'syntax'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • W3Schools
    • General
    • Suggestions
    • Critiques
  • HTML Forums
    • HTML/XHTML
    • CSS
  • Browser Scripting
    • JavaScript
    • VBScript
  • Server Scripting
    • Web Servers
    • Version Control
    • SQL
    • ASP
    • PHP
    • .NET
    • ColdFusion
    • Java/JSP/J2EE
    • CGI
  • XML Forums
    • XML
    • XSLT/XSL-FO
    • Schema
    • Web Services
  • Multimedia
    • Multimedia
    • FLASH

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Languages

Found 7 results

  1. GREETING: I would like to wish everyone at W3Schools a very Happy New Year! BACKGROUND: In an effort to speed up Matomo's performance without having to create a routine that will retrieve, save, and call the desire data -- a procedure suggested earlier by others -- I am seeking to set up a Matomo CRON job that apparently does the same with no additional coding on my part. Unfortunately, I am confused by the syntax. CODE (RECOMMENDED BY MATOMO): 5 * * * * www-data /usr/bin/php5 /path/to/piwik/console core:archive --url=http://example.org/piwik/ > /home/example/piwik-archive.log QUESTION: To what refers the phrase core:archive in the above code segment? NOTE: Within the path/to/piwik folder there exists a document file called console. Within the path/to/piwik/core folder there exists a file called Console.php, a folder called Archive, and a file called Archive.php. There are various files in the Archive folder, but none of them resemble very closely any of the folders and files just mentioned. Roddy
  2. westman

    Javascript in PHP

    $string = 'Hello and hi'; $text =' <a class="link" href = "javascript:void(0)" onclick = "document.getElementById(\'text_div\').innerHTML=\''.$string.'\';">Text</a> '; This is code I am using to print $string in text_div. What syntax (characters) can I not pass through this script?
  3. To the developers of W3.CSS thank you so much for creating a platform that in my opinion, uses less code to create a web responsive site with bells and whistles built in. I had hand coded a webpage template, but now that Google won't rank your site properly unless it is responsive, thus my template goes by the way of the 8-track. W3 provided the coding to make sites responsive, but that was still more time that I didn't have. Then, came W3.css now I can replicate my template using W3css, THANK YOU! my original template used layers via z index, placement via <div>, and in page css. My query is what is the proper syntax and use for z index within W3.css and within the container, and can multiple layers be used with a container? also can background images be used within W3.css? I see you have colors, what about images? also can the rollover feature within W3.css be used with custom images, and for non menu? based on replies, I will update your free template accordingly. Thanks once again
  4. The tutorials should use strict syntax (as a model for those who learn by example). For example, infunction myFunction(p1, p2) { return p1 * p2; // the function returns the product of p1 and p2}the semicolon is useless. The novice who does not know that the semicolon is a separator (not a terminator) will be lead to believe that it is required after the last statement.Furthermore, the equivalent formfunction myFunction (p1, p2) {return p1*p2}//returns the product of p1 and p2is more compact AND more legible. Putting a single brace on the final line may be preferred by some (even though it gobbles editing-window space up), but it should not be used so systematically that the novice will think it is a syntactical requirement.
  5. I'm sorry if, to many of you, this would seem like an obvious question, but I haven't been able to find a satisfying answer yet. Consider this piece of code; <button onclick="myFunction()"> Type A<button onclick="function(){myFunction()}"> Type B The first one calles the function, the second calls a function that, inside it, calles myFunction. I have notices sometimes type A and B both work, sometimes only one of them works, but I haven't been able to understand why exactly. Also applicable to: var x = document.getElementById("example")x.onclick=myFunction()var x = document.getElementById("example")x.onclick=function(){myFunction()} Can someone point out the differences for me? Would be very appreciated, I'm kinda stuck on this. Thanks in advance.
  6. dalawh

    Syntax for PHP files

    I know the syntax is "<?php ?>" if you want php in a html file, but if it is a php file, do we need the the "<?php ?>"?
  7. Following is the syntax of a rewrite rule/map contained in a .htaccess file. It does not have any effect at all. Before investigating other causes of why it does not work i want to make sure the syntax is perfectly OK, before writing the rule i did advice of course the apache pages regarding the rewrite module: RewriteMap prologizontas txt:prologizontas.txtRewriteRule ^prologizontas-ton-eafto-mou ${prologizontas:$1} Is the above syntax OK. prologizontas is the mapname and prologizontas.txt the location of the map(namely, within public_html).
×
×
  • Create New...