User Profile

Collapse

Profile Sidebar

Collapse
rhodesia1
rhodesia1
Last Activity: Nov 10 '06, 03:22 AM
Joined: Nov 6 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • rhodesia1
    replied to {SOLVED} MySQL query and post
    in PHP
    Not stupid at all. That change made it work perfectly. Thanks a million, you have made me very happy and now I can post what I wanted on the webpages.

    Cheers!...
    See more | Go to post

    Leave a comment:


  • rhodesia1
    replied to {SOLVED} MySQL query and post
    in PHP
    Hello Ronald, thanks for your reply. You have hit the nail on the head, thats exactly what I want to do.

    I tried your post and it either displays the error of "no data available" or if I comment out that error line it displays nothing at all with the echo in the areas on the page I want that particular text to show.

    Here is the complete connection I used;
    [php]session_start() ; //
    include_once("i nclude/mysql.inc.php") ;...
    See more | Go to post

    Leave a comment:


  • rhodesia1
    replied to {SOLVED} MySQL query and post
    in PHP
    Hello nert, thanks for the reply. Yes, i can try to explain a little more.
    I have a MySQL database and can display the data in one of the tables fields (the fields in this table are id, fpageName and fContent)
    The fpageName stores the page name (example home page) and the corresponding field in that table (fpageContent) stores the text that was entered into the database field using an admin area for that page.

    I have...
    See more | Go to post

    Leave a comment:


  • rhodesia1
    replied to {SOLVED} MySQL query and post
    in PHP
    is this the right forum?
    See more | Go to post

    Leave a comment:


  • rhodesia1
    started a topic {SOLVED} MySQL query and post
    in PHP

    {SOLVED} MySQL query and post

    Hello guys
    I currently have established a connection to a MySQL database and succesfully display the text from the table into a field on a .php page using this
    [PHP]<?=$strContent? >[/PHP]
    and this as the db query;
    Code:
    $myConn = connect_db();
    	$strSQL = "SELECT * FROM tpages WHERE fPageName='[B]home[/B]'";
    	$result = mysql_query($strSQL);
    	$row = mysql_fetch_array($result);
    	$strContent
    ...
    See more | Go to post
No activity results to display
Show More
Working...