Hi there...
I ask to the forum a simple question:
How can I print the data of a single record of my Mysql dbase, with a PHP script .
The proble is that I have to print labels and I need to have a particular layout.
thanks!
Franz
Print datas from a single record
Moderator: General Moderators
Re: Print datas from a single record
If it is that simple, why don't you answer it yourself?fvendola wrote:Hi there...
I ask to the forum a simple question:
connect to the database server [php_man]mysql_connect[/php_man]fvendola wrote: How can I print the data of a single record of my Mysql dbase, with a PHP script .
select the database [php_man]mysql_select_db[/php_man]
perform query so that the record is in the resultset [php_man]mysql_query[/php_man]
fetch the data from the resultset [php_man]mysql_fetch_assoc[/php_man]
print [php_man]print[/php_man]
that is not really a coding problem, but more a html or whatever you want your script-to-output problem. All i can say about this is that you will be probably better off reading a css tutorial that explains the media attribute...fvendola wrote: The proble is that I have to print labels and I need to have a particular layout.