• Member Avatar for Tpojka
    Tpojka

    Replied To a Post in Where do I start learning databases?

    > I just need a ton of information Here it is: [MySQL docs](https://dev.mysql.com/doc/refman/8.0/en/). You can test it here: [SQLfiddle](http://sqlfiddle.com/)
  • Member Avatar for Tpojka
    Tpojka

    Began Watching Where do I start learning databases?

    So I am really interested in making a database, I have knowledge about html and css, not javascript and I just want to begin learning and making a database. I …
  • Member Avatar for Tpojka
    Tpojka

    Replied To a Post in I can't display images from database MySQL

    You want URL and not path. I suppose you could try `echo 'http://localhost/img_mysql/images/' . $row['image']`.
  • Member Avatar for Tpojka
    Tpojka

    Began Watching I can't display images from database MySQL

    Hello, I can't display images from database. I have folder called "images" next to index.php where I keep images. I suppose I have wrongly defined folder path with images or …
  • Member Avatar for Tpojka
    Tpojka

    Replied To a Post in free php to word

    Go to `/usr/local/bin` location and execute `mv composer.phar /usr/local/bin/composer` command. Then you can use `composer` further. Double check what [docs](https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx) say.
  • Member Avatar for Tpojka
    Tpojka

    Began Watching free php to word

    Hi guys, Im quite new to php. Currently, im trying to convert my php to word and been googling for a long time about this. Anyone know how to convert …
  • Member Avatar for Tpojka
    Tpojka

    Began Watching base64 img src from a php script - broken image

    I'm trying to display an image on an HTML page using a PHP script in the image/src tag, but the image is broken. When I hard-code the output of getimage.php …
  • Member Avatar for Tpojka
    Tpojka

    Replied To a Post in base64 img src from a php script - broken image

    PHP interpreter doesn't check `.html` pages unless stated otherwise. In Apache2@Ubuntu/Debian use this directive in `.htaccess` file. AddType application/x-httpd-php .html .htm or AddType application/x-httpd-php5 .html .htm If you are running …
  • Member Avatar for Tpojka
    Tpojka

    Began Watching Data not submitting properly

    Hi, I am trying to submit data and saving it to the database queries are inserting properly but the problem is that when I try to insert the data the …
  • Member Avatar for Tpojka
    Tpojka

    Replied To a Post in Data not submitting properly

    1. We don't know what `user_1` and/or `user_2` are. 2. Post complete HTML form. 3. Post JS/AJAX code used. 4. Post PHP code used. [How to ask](http://codeblog.jonskeet.uk/2010/08/29/writing-the-perfect-question/).
  • Member Avatar for Tpojka
    Tpojka

    Began Watching Passing specific table row data in Bootstrap Modal

    **Plz provide me a complete example of "Passing specific table row data in Bootstrap Modal" i.e on clicking edit link of a specific record, details for that record should be …
  • Member Avatar for Tpojka
    Tpojka

    Replied To a Post in Passing specific table row data in Bootstrap Modal

    This doesn't work this way. Check [here](http://codeblog.jonskeet.uk/2010/08/29/writing-the-perfect-question/) and try again.
  • Member Avatar for Tpojka
    Tpojka

    Began Watching Store recorded audio on database

    Hello i want to make a script so that users can record audio through their mic. I found this online https://github.com/streamproc/MediaStreamRecorder/blob/master/demos/audio-recorder.html but i how i can make the recorded audio …
  • Member Avatar for Tpojka
    Tpojka

    Replied To a Post in Store recorded audio on database

    So show some code where you stuck. I can recommend [great article](http://codeblog.jonskeet.uk/2010/08/29/writing-the-perfect-question/) of how to ask for help. Help us to help you. ;) Other than that, you can use …
  • Member Avatar for Tpojka
    Tpojka

    Began Watching $_GET['timestamp']) ? $_GET['timestamp'] : 0

    Hello I would like ask u guys that what does mean `$variablee = isset($_GET['timestamp']) ? $_GET['timestamp'] : 0;` ? what stand for `?` sign and this sign `: 0` ? …
  • Member Avatar for Tpojka
    Tpojka

    Replied To a Post in $_GET['timestamp']) ? $_GET['timestamp'] : 0

    Shorthand is easy to remember as well: http://php.net/manual/en/language.operators.comparison.php#92685
  • Member Avatar for Tpojka
    Tpojka

    Began Watching PHP MySQL Connection

    Hi all, I am trying to populate text on my website from data stored in a MySQL database. I have this script before the <head> of my HTML to establish …
  • Member Avatar for Tpojka
    Tpojka

    Replied To a Post in PHP MySQL Connection

    Welcome to aboard. First, you shouldn't use mysql driver but you should use mysqli if procedural (as this example is) or PDO (preferable) if OOP. Secondly, you need to loop …
  • Member Avatar for Tpojka
    Tpojka

    Began Watching how to pass and receive json data through jquery ajax to php page

    why this code give error like "Warning: json_decode() expects parameter 1 to be string, array given in <b>E:\wamp\www\datefun\show_cart_update.php</b> on line". Please help me. I am new in php and json …
  • Member Avatar for Tpojka
    Tpojka

    Replied To a Post in how to pass and receive json data through jquery ajax to php page

    Also, I think you should omit `onClick="update_cart_detail()"` since you trigger function and whole AJAX process by clicking `id="update_cart"` which is that button.
  • Member Avatar for Tpojka
    Tpojka

    Replied To a Post in SQL insert on button click

    Simpliest way would be: `UPDATE orders SET ISBN='$_SESSION["ISBN"]' WHERE OrderNo='$_SESSION["OrderNo"]';` if that is the question. Still can't see where is the problem though. Keep asking, maybe someone else come to …
  • Member Avatar for Tpojka
    Tpojka

    Replied To a Post in SQL insert on button click

    I would use AJAX to update cart. Is there DB table already? Can you describe it? I really don't know where did you stuck? Do you know to insert / …
  • Member Avatar for Tpojka
    Tpojka

    Replied To a Post in SQL insert on button click

    I am not sure what is your issue: getting session dedicating value to it or something third. I tried to answer from topic title. Next, I can't see anywhere on …
  • Member Avatar for Tpojka
    Tpojka

    Replied To a Post in SQL insert on button click

    One issue at time, please. Or at least open new topic for such an issue too. > I cant seem to get it to work. What error you got?
  • Member Avatar for Tpojka
    Tpojka

    Began Watching SQL insert on button click

    Hi Guys! I have the following code: <?php session_start(); include_once("config.php"); ?> <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>View shopping cart</title> <link href="style/style.css" rel="stylesheet" type="text/css"></head> <body> <br> <div …
  • Member Avatar for Tpojka
    Tpojka

    Replied To a Post in SQL insert on button click

    Before form you want to check out if data is sent by POST so let's say right after line 40 (or first line after opening if condition) you need something …
  • Member Avatar for Tpojka
    Tpojka

    Began Watching Reisize images with Imagemagick

    I have a problem with resizing images with imagemagick this is the info ImageMagick module info Array ( [versionNumber] => 1672 [versionString] => ImageMagick 6.8.8-7 Q16 x86_64 2015-01-27 http://www.imagemagick.org ) …
  • Member Avatar for Tpojka
    Tpojka

    Replied To a Post in Reisize images with Imagemagick

    Can you test it on non secured page and check results, some development environment maybe?
  • Member Avatar for Tpojka
    Tpojka

    Replied To a Post in 500 Internal Server Error

    If you ask that. you probably didn't set anything about it. But just in case see your localhost file how is set and post the code here. [.htaccess](http://en.wikipedia.org/wiki/.htaccess) file is …
  • Member Avatar for Tpojka
    Tpojka

    Began Watching 500 Internal Server Error

    I uploaded the files into my hosting server and im getting this error when i want to open my site what is the problem ? Im using `index.php` but i …

The End.