www.webdeveloper.com

Search:

Type: Posts; User: genus Hapalochl

Search: Search took 0.02 seconds.

  1. Replies
    18
    Views
    4,243

    Some help would be appreciated

    I have tried to alter the query to call in the $page_id of each page but cannot seem to get the sql statement right. So far I have


    $sql = "SELECT `description`, `keywords`,...
  2. Replies
    18
    Views
    4,243

    Dsiplay dynamic meta/title info on requested page in dynamic site : back to basics

    I have still not managed to get the query right to display the meta info and title for the page requested. I have stripped the code back to its very basic to ensure I was getting an output. As you...
  3. Replies
    1
    Views
    1,133

    You should take a look at a couple of tutorials,...

    You should take a look at a couple of tutorials, maybe video tutorials, just search youtube for ' join tables in mysql '. Hope this helps
  4. Replies
    18
    Views
    4,243

    look and ye shall see

    Well obviously from when I removed the * from the select statement and did not call the title it obviously would not show, so now I have the following


    $sql = "SELECT
    `description`,...
  5. Replies
    18
    Views
    4,243

    Ok, I have made a few changes, whether they are...

    Ok, I have made a few changes, whether they are for the better or not I will take advice. Currently in my fetchmeta.php file I have



    $sql = "SELECT*
    `description`, `keywords`, `author`,...
  6. Replies
    18
    Views
    4,243

    This is what I have now, starting to make a little sense to me, I think

    With the code NogDog has given me and my small amendments to my SELECT statement I now have the following code, the echo statement is not what I need to work on as the meta info is out of sync now so...
  7. Replies
    18
    Views
    4,243

    The first problem is that there is not a field...

    The first problem is that there is not a field called content in the DB. I see that 1, I have had several suggestions and think I have mixed them up at some point so re-entered the code you gave me....
  8. Replies
    18
    Views
    4,243

    Amended desc to description, now get Array (...

    Amended desc to description, now get

    Array
    (
    [0] => 42S22
    [1] => 1054
    [2] => Unknown column 'content' in 'field list'
    )
  9. Replies
    18
    Views
    4,243

    The output gives me Array ( [0] => 42S22...

    The output gives me

    Array
    (
    [0] => 42S22
    [1] => 1054
    [2] => Unknown column 'desc' in 'field list'
    )
  10. Replies
    18
    Views
    4,243

    I still have not managed to get anywhere with...

    I still have not managed to get anywhere with this, I would be grateful if someone could give me a little more direction to resolve this. Thanks
  11. Replies
    18
    Views
    4,243

    I forgot to ask is implode(); the way to go?

    I forgot to ask is implode(); the way to go?
  12. Replies
    18
    Views
    4,243

    I am working my way through but initial tests...

    I am working my way through but initial tests give me

    Notice: Array to string conversion in C:\xampp\htdocs\dynamicmeta\dynamic3\inc\fetchmeta.php on line 22
    Array

    I will reply when I have...
  13. Replies
    18
    Views
    4,243

    I tried your solution, thanks for the reply. ...

    I tried your solution, thanks for the reply.

    Unfortunately I get

    Fatal error: Call to a member function fetch() on a non-object in C:\xampp\htdocs\dynamicmeta\dynamic3\inc\fetchmeta.php on line...
  14. Replies
    18
    Views
    4,243

    Unfortunately that returns Notice: Array to...

    Unfortunately that returns

    Notice: Array to string conversion in C:\xampp\htdocs\dynamicmeta\dynamic3\inc\fetchmeta.php on line 28

    28 being

    echo "<meta name=\"$desc\" content=\"$content\"...
  15. Replies
    18
    Views
    4,243

    Output

    <!DOCTYPE HTML>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="name" content="home" />
    <meta name="title" content="Home Page" />
    <meta...
  16. Replies
    18
    Views
    4,243

    Meta and title info for dynamic site

    I have gone through the numerous threads regarding this subject but cannot translate any of the solutions over to my basic project. I have followed a tutorial on a basic dynamic site, the index page...
Results 1 to 16 of 16
HTML5 Development Center



Recent Articles