Hello, guest!
More
Chat
If you get an error during the chat, please Reload the page !
News Feed
Userdeleted · Published on 2023-11-14 00:50:33 (1 year ago )
comment
Screenshot_2021-11-27-12-14-03.png mario · Published on 2021-11-27 11:16:04 (3 years ago )
comment
Screenshot_2021-11-23-16-19-53.png mario · Published on 2021-11-23 15:22:24 (3 years ago )
comment
Wapka Basic function
maria · Published on 2022-02-04 12:18:14 (3 years ago )
<div class="bar1">
    <div class="bar1top">Helper function</div>
    <div class="info">You can use helper function with tag codes. Helper function is very useful for data processing.
        WAPKA function name is case sensitive. To make function chain use (.) dot</div>
    <div class="bar13"><b>:GET(name);</b> - To get data from url</div>
    <div class="bar14"><b>:POST(name);</b> - To get http post data</div>
    <div class="bar13"><b>:COOKIE(name);</b> - To get http cookie</div>
    <div class="bar14"><b>:REQUEST(name);</b> - Get combined data from get, post & cookie</div>
    <div class="bar13"><b>:VALUE(data);</b> - This function is used to set function parameter.</div>
    <div class="bar14"><b>:DATA(Function or tag or data);</b> - You can get data from many function like :DATA(Name: #GET(name)# ID: #VAR(USER_ID)#);</div>
    <div class="bar13"><b>:SET(name);</b> - You can use this function to define variable. :VALUE(test data).SET(new_var); You can also call multiply function and make chain - :GET(id).INT.SET(ID); here we get data from url then make sure it number then set variable.</div>
    <div class="bar14"><b>:SAVE(name);</b> - This is similar as SET but this will save data in server (session) and you can use this data later on any page</div>
    <div class="bar13"><b>:VAR(name);</b> - To get data from variable use this function</div>
    <div class="bar14"><b>:DATE();</b> - This function is for date and time. To format current date Use :DATE(formater); You can format any date from other function and also time ago like :VALUE(Dec 2020).DATE(AGO); to use with other function use :VALUE(%date%).DATE(Formater or AGO);</div>
    <div class="bar13"><b>:SLUG(make url);</b> - Make SEO frendly url from any text. You can use with other function/tag like :SLUG(%title%);</div>
    <div class="bar14"><b>:URL_ENCODE(url); , :HTML_ENCODE(html);, :BASE64_ENCODE(data);)</b> - To encode data</div>
    <div class="bar13"><b>:URL_DECODE(url); , :HTML_DECODE(html);, :BASE64_DECODE(data);)</b> - decode encoded data</div>
    <div class="bar14"><b>:REMOVE_TAG;</b> - to remove html tag from input. usage - :REMOVE_TAG(&lt;tag&gt;this is tag&lt;/tag&gt;); To allow tag use like - :VALUE(&lt;b&gt;this is bold&lt;/b&gt;&lt;i&gt;this is italic&lt;/i&gt;).REMOVE_TAG(&lt;i&gt;);</div>
    <div class="bar13"><b>:LOWER(MAKE IT LOWER);</b> - convert all character to lower case.</div>
    <div class="bar14"><b>:UPPER(lower to upper)</b> - convert all character to upper case</div>
    <div class="bar13"><b>:TRIM( space );</b> - Remove whitespace from data. You can also remove other character like :VALUE(-----test--------).TRIM(-); this will remove all -</div>
    <div class="bar14"><b>:CHOP(space );</b> - Same as TRIM but remove from at the end of string</div>
    <div class="bar13"><b>:CUT(["start", "end"]);</b> - Get part of string from start to end you can also set starting and ending position like :VALUE(this is test).CUT([0, 10]); to get first 10 character</div>
    <div class="bar14"><b>:LENGTH(data);</b> - length</div>
    <div class="bar13"><b>:INT(1234abcd);</b> - To make sure data is numeric</div>
    <div class="bar14"><b>:NULL(nothing);</b> - If you want to call a function and hide result use this at the end. :GET(data).SET(var).NULL; set variable and display nothing</div>
    <div class="bar13"><b>:REPLACE(["search", "replace"]);</b> - This function is used to search and replace you can pass json array or string as parameter. Usage :VALUE(test_data).REPLACE("_data");</div>
    <div class="bar14"><b>:RANDOM(["one", "two", "three", "More");</b> - Get random value form JSON array or string. To generate random number use like :RANDOM("123456790");</div>
    <div class="bar13"><b>:PLUS(numeric value);</b> - Math function.</div>
    <div class="bar14"><b>:MINUS(numeric value);</b> - Math function.</div>
    <div class="bar13"><b>:DIVIDE(numeric value);</b> - Math function.</div>
    <div class="bar14"><b>:MULTIPLY(numeric value);</b> - Math function.</div>
    <div class="bar13"><b>Math function usage:</b> - To calculate data you can use math function. Example usage: :GET(id).PLUS(100); , :VALUE(100).PLUS(100).DIVIDE(2);, :VAR(number).PlUS.GET(number);</div>
</div>
comment
News Feed
mario · Published on 2022-02-03 06:03:05 (3 years ago )
  
comment
News Feed
danishraza · Published on 2022-02-02 23:30:05 (3 years ago )
<!DOCTYPE html>
<html>
<head>
<script>
function myFunction() {

document.getElementById("demo").innerHTML = "Paragraph changed."; } </script> </head> <body> <h2>Demo JavaScript in Head</h2> <p id="demo">A Paragraph</p> <button type="button" onclick="myFunction()">Try it</button> </body> </html>
comment
News Feed
mario · Published on 2022-02-02 13:29:31 (3 years ago )
  
comment
News Feed
prabhu · Published on 2022-02-02 04:28:41 (3 years ago )
Showing error on forum post: i am posted 24 posts but in list shows only 20.

  
comment
News Feed
khokon53 · Published on 2022-02-02 03:47:30 (3 years ago )
Why media query is not supported in wapka?
comment
News Feed
prabhu · Published on 2022-01-31 12:21:21 (3 years ago )
i want contact uss form code
comment
News Feed
mario · Published on 2022-01-30 13:21:05 (3 years ago )
Hey All listen... These site wapka is not alternate of wapkiz,xtgem,waphosts.... so in case you request a code help from wapkiz to wapka it will be eazy and those who are mastered in wapkiz we have setting functions translator here like :my_name: - :VAR(USER_NAME); very easy to understood
comment
News Feed
anenymeus · Published on 2022-01-30 02:16:02 (3 years ago )
Can I make payment gateway page with Wapka ?
comment
News Feed
anenymeus · Published on 2022-01-30 02:10:33 (3 years ago )
Hey, i think I know Francisco....I saw him in wapkiz group....is it true ?
comment
News Feed News Feed [ ] (ramadan22)
News Feed News Feed [ ] (ramadan22)
News Feed News Feed [ ] (skmonir)
Category