<?php $mysqlQuery = mysql_query("SELECT * FROM songs WHERE id = $_GET[id]", $dbc) or die("ERROR"); while ($mysqlQueryRow = mysql_fetch_array($mysqlQuery)) { ?> <textarea rows="18" cols="60"><?= $mysqlQueryRow['text1'] ?></textarea> 

In my table, all values ​​are displayed as it should, except for the TEXTAREA cell, what's wrong? https://pp.vk.me/c623819/v623819614/5012/GxtMxIyq1K0.jpg

    3 answers 3

    Check the contents of the array, does it have the desired value? print_r($mysqlQueryRow);

    Apparently, the $mysqlQueryRow['text1'] variable is empty.

    • The base value is recorded normally, I checked - Oleg Vegan

    I would like to see a little more than <?= $mysqlQueryRow['text1'] ?> .
    Maybe the request does not indicate that it is necessary to get data from the "text1" cell, for example.

    • Added a request to the database in the header. - Oleg Vegan