Jump to content

Search the Community

Showing results for tags 'rowart'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to PHP Freaks
    • Announcements
    • Introductions
  • PHP Coding
    • PHP Coding Help
    • Regex Help
    • Third Party Scripts
    • FAQ/Code Snippet Repository
  • SQL / Database
    • MySQL Help
    • PostgreSQL
    • Microsoft SQL - MSSQL
    • Other RDBMS and SQL dialects
  • Client Side
    • HTML Help
    • CSS Help
    • Javascript Help
    • Other
  • Applications and Frameworks
    • Applications
    • Frameworks
    • Other Libraries
  • Web Server Administration
    • PHP Installation and Configuration
    • Linux
    • Apache HTTP Server
    • Microsoft IIS
    • Other Web Server Software
  • Other
    • Application Design
    • Other Programming Languages
    • Editor Help (PhpStorm, VS Code, etc)
    • Website Critique
    • Beta Test Your Stuff!
  • Freelance, Contracts, Employment, etc.
    • Services Offered
    • Job Offerings
  • General Discussion
    • PHPFreaks.com Website Feedback
    • Miscellaneous

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Age


Donation Link

Found 1 result

  1. Hi, I have a quick question, just want to make sure I don't screw anything up before I do it. case "article": // single article item $sqlart = "SELECT * FROM Articles WHERE Article_ID = ".$_GET["id"]; $resultart = mysql_query($sqlart, $dbc); $rowart = mysql_fetch_array($resultart); $title = "mixrevu.com - Article: ".$rowart["Article_Title"]; $description = substr(strip_tags($rowart["Article_Story"]),0,100)."..."; break; case "article2": // single audio blog item $sqlart = "SELECT * FROM Articles2 WHERE Article2_ID = ".$_GET["id"]; $resultart = mysql_query($sqlart, $dbc); $rowart = mysql_fetch_array($resultart); $title = "mixrevu.com - Audio Blog: ".$rowart["Article2_Title"]; $description = substr(strip_tags($rowart["Article2_Story"]),0,100)."..."; break; As you can see above, my meta titles are displayed as ( mixrevu.com - Article " title of article is pulled here") but I want the article title to be displayed like this "title of article is pulled here" : Article - mixrevu.com. **So I just want to swap the order** Is it ok for me to swap the code on the $title line like ".$rowart["Article_Title"] :Article - mixrevu.com ????? Would I screw anything up? The question goes for "article single item and article2. If I am reading the code correctly the $sqlart to $rowart section is where the instructions are giving on what is what and the $title, $description is where I can acutally make the changes. Would I have to do anything to the inital $sqlart section????? Thanks for your help, -ivantw
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.