PHP - MySQL


  1. » JanMolendijk
    I have a little script that have a Previous & Next button.
    My problem is I want to detect & place the ID in those buttons

    this is the...
    Last post » Admin
    Sorry, I not understand your code, not know what it is not working.
    Where in the pagination you add $row ?
    Do you get any error, or what value the...


  2. » JanMolendijk
    I`m searching for few hours now but can`t find a solution to link to a part off a page ??? I try to use this...

    In one comment-page I have this...
    Last post » JanMolendijk
    It is strange I tried alot things nothing working correctly.
    Meight my Question is wrong, Because I try from a page a link to another page but the...


  3. » Marius
    How can I remove a parameter from URL query, and display the query string without the removed parameter?
    For example, i have this URL:...
    Last post » Admin
    You can use the queryToArray() function from the following example to make an array from URL query parameters.
    With unset() remove the parameter you...


  4. » Marius
    Hello,
    How can I concatenate the value of a string in the replace() statement in mysql?

    For example, in the 'content' column i have something...
    Last post » Admin
    Hi,
    You can use the concat() function in the replace() statement.
    REPLACE(col_name, concat('string', col_2, 'join-string'), 'new_value')
    - Here...


  5. » JanMolendijk
    I have a problem it does not register all IP-addresses from the visitors with a Unique Key made from their IP-address.
    I see also that some visitors...
    Last post » JanMolendijk
    I let go of my imagination, and tried with loading of iframes, but then it did not register either...

    After that I changed my code into this, I...


  6. » JanMolendijk
    My next problem... I want to insert into my data-base & detect if the record allready exists
    when the record allready exists i don`t want to...
    Last post » Admin
    You can use INSERT ... ON DUPLICATE KEY UPDATE to Insert record if not exist.
    The sql column for that record must be set as UNIQUE index or PRIMARY...


  7. » JanMolendijk
    Dear admin i cant get the specivic id in my vex-modal script detected
    i hope i can open multiply iframes in my script

    $sql = SELECT * FROM...
    Last post » Admin
    Try this in your script (i cant test it, so, if you get errors try to fix what you know and post errors here):
    foreach ($results as $res) {
    echo...


  8. » JanMolendijk
    Dear Admin sorry I post twice questions into few hours
    but I try to add a target= shout into this code what I did went all wrong
    I realy hope you...
    Last post » Admin
    You can put the time you want, in javascript the time is in miliseconds (1000 =1 second, 500 =0.5 seconds).


  9. » Marius
    Hello,
    I want to extract the last three characters from a number, an id.
    For example:
    $id ='123456';
    $nid ='456'; //this i need

    And, if the id...
    Last post » Admin
    Hello,
    You can use in your php code the getNId() function from the following example.
    It returns the first or the last $n characters from a number...


  10. » JanMolendijk
    Dear Admin I have a simple problem the id is not detected in:
    <iframe src= /Comments/user/Profile-E-Mail-Send.php?id=<?php echo $users ;?>...
    Last post » JanMolendijk
    Thank alot for the support `its working now`


  11. » JanMolendijk
    Hello i`m busy with an notification-system, but i have a problem in my automatic-loader.
    It does not show $users on the second &nd furter pages...
    Last post » JanMolendijk
    Thanks for supporting but i have found the problem something with a different .php address


  12. » mlucicom
    Hello! I want to add some php code in this javascript section

    <script>
    $(document).ready(function() {
    $('#calendar').fullCalendar({...
    Last post » Admin
    if what you want is to add js objects from php in the 'events' array in javascript, try this:
    <?php
    $arr =[
    ,

    ];

    $jsob =[];
    foreach($arr as...


  13. » JanMolendijk
    Dear Admin i`m buissy to add 15000 pictures on the website

    I use your Pagination Class + I wanna use
    For opening the info-pageby Simple Modal...
    Last post » Admin
    Hello,
    I not know how Simple Modal works, but mixing javascript code in php while() loop it can generate an incorrect html/js code, with multiple...


  14. » Shawnturner
    Hello,

    I have two files: File1: choice.php and File2: summary.php. The members of my sportclub may choose material in file 1 and see the summary...
    Last post » Admin
    Try to remove the duplicate values from that session array:
    $_SESSION [] = my hardcoded text .$myvar;
    $_SESSION = array_unique($_SESSION );


  15. » Shawnturner
    Hello,

    I am using PHP Push Notification Android and iOS: Send push notifications to Android and iOS devices I have to send around 10k pushes every...
    Last post » Admin
    Hello,
    I not know about PHP Push Notification Android and iOS , but check the answers from this page, maybe they can help you:

    Or, post the...


  16. » JanMolendijk
    Dear admin i try to add a counter but
    i want to have the data from only
    the current date into it...

    This code is not working & what do i do...
    Last post » JanMolendijk
    I thought strange ??? But i had my date-code wrong ( :D sorry)

    $today = date('Y-n-j');


  17. » Marius
    Hello,
    I try to create and use a class object instance and its method inside a function.
    For example I have the following code, but it not works:...
    Last post » Admin
    Hello,
    Pass to the function the arguments needed for class.
    You can use one of the following examples:
    1.
    class clsTest {
    protected $prop ='';...


  18. » JanMolendijk
    I want to update my notice-board into two column, but i searching for day`s how to complete this...
    How can i split this SQL code into two columns...
    Last post » Admin
    Try to put the each notice in Div:
    $sql=mysqli_query($conn, SELECT * FROM `notice_second` ORDER BY `notice_second`.`notice_id` DESC LIMIT 16 );...


  19. » JanMolendijk
    I've been searching for days now, for a script which automatically scans text from a databasek; in a text field.
    For example if i type a name in a...
    Last post » JanMolendijk
    Dear Admin thank you for your support.
    if I have found something succesfully, I will let it known here, so other visitors don`t have to search for...


  20. » JanMolendijk
    I`m using XAMP server + your script Update - Delete Data Using PHP

    I have a checkbox but it does not stay checked
    or unchecked after refreshing...
    Last post » Admin
    You can put in session the status of that checkbox when form is submited, then use it from session.
    <?php
    if(isset($_REQUEST )){
    $_SESSION =...


  21. » JanMolendijk
    Dear ADmin i hope you can help me with my next problem

    I have for the members seperated folders for pictures...
    But some members have to mutch...
    Last post » JanMolendijk
    Thanks for all support again &nd again


  22. » JanMolendijk
    Chef i`m back hoping you could help me with this.
    i think i need just one example then i can build a score-board for the members...

    I have two...
    Last post » JanMolendijk
    Well i searching in dutch lang & now i found them all
    But still thanks for supporting :)

    <?php
    $waarde1 = $row ;
    $waarde2 = $row1 ;...


  23. » JanMolendijk
    How can i create that this code is only visible for friends-list ?
    <?php
    include('connection.php');

    $id = (int) $_GET ;...
    Last post » JanMolendijk
    This where realy helpfull thanks for your support


  24. » JanMolendijk
    I have a friend-system that works with a database
    I need from another table the user-id (id), so i can link to their profile

    table: my_friends...
    Last post » Admin
    The tables must have some relation between each other, to can make what you want.
    The relation can be on id or other fields.
    The idea is to have...


  25. » JanMolendijk
    I run your Website Mini-Traffic and Pages Access data:

    From my mebers page Users.php i don`t get an title from database.
    I added simple an...
    Last post » Admin
    Hello,
    Add the php variable into <?php .. ?> , with echo .
    Try this:
    $sql=mysqli_query($conn, SELECT * FROM `user` WHERE id=' . $id . '...