Recommended Answers
Jump to PostCould you please give us the code so we can try and resolve your issue :)
Jump to PostI'm confused to what you actually want to do here..
Do you want to display a record inside a text box, so like have an input box and its value is from the table?
OR display a record from the table onto a page?
To me, your …
Jump to PostRight, well, you can't SELECT everything and expect EVERYTHING to display in a text box (Well, you can, but it's not practical lol):
<?php $id = (int) 1; $db=mysql_connect('localhost','root','') or die ('Cannot connect to MYSQL!'); @mysql_select_db('dbriomra') or die('Cannot connect to database'); $query="SELECT * FROM `profiles` WHERE profile_id='$id'"; …
Jump to PostWhat error does it give?
It was just an example since I don't have access to your database, I cannot tell what fields you have.. =) Maybe provide some extra details?
All 13 Replies
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.