PHP - MySQL


  1. » 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...


  2. » JanMolendijk
    User avatar
    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
    User avatar
    Thank alot for the support `its working now`


  3. » JanMolendijk
    User avatar
    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
    User avatar
    Thanks for supporting but i have found the problem something with a different .php address


  4. » 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...


  5. » JanMolendijk
    User avatar
    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...


  6. » 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 );


  7. » 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...


  8. » JanMolendijk
    User avatar
    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
    User avatar
    I thought strange ??? But i had my date-code wrong ( :D sorry)

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


  9. » 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 ='';...


  10. » JanMolendijk
    User avatar
    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 );...


  11. » JanMolendijk
    User avatar
    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
    User avatar
    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...


  12. » JanMolendijk
    User avatar
    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 =...


  13. » JanMolendijk
    User avatar
    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
    User avatar
    Thanks for all support again &nd again


  14. » JanMolendijk
    User avatar
    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
    User avatar
    Well i searching in dutch lang & now i found them all
    But still thanks for supporting :)

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


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

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


  16. » JanMolendijk
    User avatar
    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...


  17. » JanMolendijk
    User avatar
    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 . '...


  18. » JanMolendijk
    User avatar
    Dear Chef i`m back again, i try to do alot to get smarter...
    This to make the website better but it is complicated
    also my technical-english is not...
    Last post » JanMolendijk
    User avatar
    Thank you so mutch it is settlet now


  19. » mlucicom
    I have a php page where i work with session..
    <?php
    session_start();
    if (isset($_SESSION )) {
    $username2=$_SESSION ;
    } else {
    echo <script...
    Last post » Admin
    Hello,
    That error appears because there is something sent to browser before session_start(); , like an echo , or a space or other character before...


  20. » JanMolendijk
    User avatar
    Into this code i see 30 records.
    Now i wanna add a link to eatch single record.
    i can do this with: >'. $row .'
    but how do i create a singel...
    Last post » Admin
    If there is a notice_id ; in that mysql table, you can store it in a variable, then apply echo to that variable.
    while($row =...


  21. » beegee
    Just so you know in some php files from your scripts you left out the closing ?> .
    I put it in and looks good thank you.
    Last post » Admin
    In php files, if after the last line of code there isn't other content, like html, there is not need for the closing tag ?> .
    The closing tag is...


  22. » JanMolendijk
    User avatar
    What i miss for my users is an page-counter.
    Now i hope you have someting for me.
    Something like on eatch different id.
    Last post » Admin
    Hello,
    I have this php script for page counter and monitoring website traffic:


  23. » JanMolendijk
    User avatar
    Dear Admin i hope you can help me out...

    I have a list off latest comments but some text are to long & i would like to show only the first 10...
    Last post » JanMolendijk
    User avatar
    Thank you so Mutch for Suporting dear Admin
    You really deserve a donation


  24. » JanMolendijk
    User avatar
    I changed a php-mysql script to work with MySQLi, and now i getting this error:
    Fatal error: Call to undefined method mysqli::numrows() in...
    Last post » JanMolendijk
    User avatar
    I gave up & gonna use your comment-tree script
    thanks for all the support


  25. » JanMolendijk
    User avatar
    I did turn a php script to mysqli but getting two errors:
    Warning: mysqli_select_db() expects exactly 2 parameters, 1 given in...
    Last post » Admin
    Hy,
    Replace the mysqli_ prefix from the function name with the object that store the connection.
    For example:
    // connect to database
    $dbh =...

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum