User Profile

Collapse

Profile Sidebar

Collapse
hadge26
hadge26
Last Activity: Feb 16 '08, 12:13 AM
Joined: Feb 2 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • hadge26
    replied to Shortening text before full display
    in PHP
    Hey guys,

    I got it working... using a mixture of both suggestions... I'd tell you that ur the best but im guessing thats why you hang around here :)
    See more | Go to post

    Leave a comment:


  • hadge26
    replied to Shortening text before full display
    in PHP
    Ronald thats exactly what I mean, i need to implement it so its pulling $text from the database, this is my current code:

    [PHP]<?php $result=mysql_q uery("SELECT * FROM article WHERE cat='hardware' ORDER BY time DESC LIMIT 5");
    while ($row=mysql_fet ch_array($resul t))

    {
    echo "<br /><div class='text'><s pan style='float: left;'><b>{$row["title"]}</b></span><span...
    See more | Go to post

    Leave a comment:


  • hadge26
    replied to PHP/SQL insert issue
    in PHP
    Hi Mark,

    Sorry its taken me so long to reply, got it working in the end thanks to you!

    Ta

    Harry...
    See more | Go to post

    Leave a comment:


  • hadge26
    started a topic Shortening text before full display
    in PHP

    Shortening text before full display

    Hi Guys,

    Sorry if these are noob questions but i have a few issues with a website im trying to build.

    Ok its a review site, where the user can type their review into a submit page.. got all that working, what i need to know is, is there a way to display say the first 50 words of an article followed by a read more and how do you make a multi page article (although these are possibly the same thing) Just need the names...
    See more | Go to post

  • hadge26
    started a topic PHP/SQL insert issue
    in PHP

    PHP/SQL insert issue

    Hi guys, please excuse me as im a bit of a noob. I'm making a blog site where the user can use a control panel page to update their blogs / articles. Its all going ok but when i post either " or ' into the text field it doesnt make it in to the data base.

    Can anyone help? heres my code:


    [PHP]<? session_start() ;
    $_SESSION['text'] = $text;


    //Functions!
    $ip = $_SERVER['REMOTE_ADDR'];...
    See more | Go to post
No activity results to display
Show More
Working...