<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1032723" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1032723</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/no-database-selected-first-time-attempting-blog#comment-1191585</link>
    <description> &lt;p&gt;If it&#039;s a blog you want, I&#039;d recommend WordPress&lt;/p&gt;
 </description>
     <pubDate>Wed, 25 Jan 2006 00:40:45 +0000</pubDate>
 <dc:creator>ddf1230</dc:creator>
 <guid isPermaLink="false">comment 1191585 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/no-database-selected-first-time-attempting-blog#comment-1191570</link>
    <description> &lt;p&gt;Hey,&lt;/p&gt;
&lt;p&gt;Thanks again for your help.&lt;/p&gt;
&lt;p&gt;I think what I&#039;ll do is look for a different script to use. It might be the final key I need since I&#039;ve done almost everything else. Yeah that&#039;s it.... I&#039;m on the hunt again....lol...&lt;/p&gt;
&lt;p&gt;Thanks a million....you&#039;ve been GREAT!&lt;/p&gt;
 </description>
     <pubDate>Tue, 24 Jan 2006 23:34:33 +0000</pubDate>
 <dc:creator>NewTechGuy</dc:creator>
 <guid isPermaLink="false">comment 1191570 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/no-database-selected-first-time-attempting-blog#comment-1191567</link>
    <description> &lt;p&gt;Ok, that I can&#039;t help you with.  Might be a question for the developer who gave you the sql code to use.  But you&#039;ve got the procedure down now.  Now, it&#039;s just a matter of having the right code.  Good luck.&lt;/p&gt;
 </description>
     <pubDate>Tue, 24 Jan 2006 23:08:59 +0000</pubDate>
 <dc:creator>ddf1230</dc:creator>
 <guid isPermaLink="false">comment 1191567 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/no-database-selected-first-time-attempting-blog#comment-1191566</link>
    <description> &lt;p&gt;Okay, so.......you almost had me excited there.....LOL...&lt;/p&gt;
&lt;p&gt;But I already tried that..... and just to make sure i tried it again with the code you recommended and believe it or not I got yet another error message....here it is:&lt;/p&gt;
&lt;p&gt;#1064 - You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near &#039;CURRENT_TIMESTAMP on update&lt;br /&gt;
CURRENT_TIMESTAMP,&lt;br /&gt;
display char(1&lt;/p&gt;
&lt;p&gt;Thanks again.....&lt;/p&gt;
 </description>
     <pubDate>Tue, 24 Jan 2006 23:04:20 +0000</pubDate>
 <dc:creator>NewTechGuy</dc:creator>
 <guid isPermaLink="false">comment 1191566 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/no-database-selected-first-time-attempting-blog#comment-1191565</link>
    <description> &lt;p&gt;Oh, but you are so close.  If the box was blank and didn&#039;t have a default sql statement in there, that&#039;s ok!  In that case, just put&lt;/p&gt;
&lt;p&gt;CREATE TABLE wfblog (&lt;br /&gt;
blog_id int(11) NOT NULL auto_increment,&lt;br /&gt;
title varchar(255) NOT NULL default &#039;&#039;,&lt;br /&gt;
content text NOT NULL,&lt;br /&gt;
published timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,&lt;br /&gt;
display char(1) default NULL,&lt;br /&gt;
PRIMARY KEY (blog_id)&lt;br /&gt;
)&lt;/p&gt;
&lt;p&gt;into the empty box and hit go.  All done!&lt;/p&gt;
 </description>
     <pubDate>Tue, 24 Jan 2006 22:42:30 +0000</pubDate>
 <dc:creator>ddf1230</dc:creator>
 <guid isPermaLink="false">comment 1191565 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/no-database-selected-first-time-attempting-blog#comment-1191558</link>
    <description> &lt;p&gt;Okay, it&#039;s official......I GIVE UP. There is just to much that I don&#039;t know, or understand about this.&lt;/p&gt;
&lt;p&gt;I did exactly what you said and everything was good until I had to replace the default sql statements with the entire sql statement that the developer supplied. I never had anything like you had that says (SELECT * FROM `word` WHERE 1)... I just have a big empty text box. &lt;/p&gt;
&lt;p&gt;On top of that I have no idea what the sql statement would be. To me it could be either this...&lt;/p&gt;
&lt;p&gt;blog_id int(11) NOT NULL auto_increment,&lt;br /&gt;
                  title varchar(255) NOT NULL default &#039;&#039;,&lt;br /&gt;
                  content text NOT NULL,&lt;br /&gt;
                  published timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,&lt;br /&gt;
                  display char(1) default NULL,&lt;br /&gt;
                  PRIMARY KEY  (blog_id)&lt;/p&gt;
&lt;p&gt;OR THIS........&lt;/p&gt;
&lt;p&gt;I tried both options because I have no idea what I&#039;m doing. The truth is I just don&#039;t have the experience to know.&lt;/p&gt;
&lt;p&gt;I also don&#039;t know if &quot;query&quot; means the same as statement  &amp;lt;--- yeppers, just don&#039;t know.&lt;/p&gt;
&lt;p&gt;You make it sound so easy until I get to where I&#039;m supposed to be and discover things don&#039;t look the same or that I just don&#039;t understand the terminology.&lt;/p&gt;
&lt;p&gt;So....I&#039;m gonna stop. It&#039;s too frustrating. But I would like to extend a BIG thank you to you for trying. I appreciate everything you&#039;ve tried. Thank you so much.&lt;/p&gt;
&lt;p&gt;with the entire sql statement that the&lt;br /&gt;
developer gave you.  Then click on Go.  That should set up the table for you&lt;br /&gt;
with no further work on your part.  Hope that helps.&lt;/p&gt;
 </description>
     <pubDate>Tue, 24 Jan 2006 22:01:24 +0000</pubDate>
 <dc:creator>NewTechGuy</dc:creator>
 <guid isPermaLink="false">comment 1191558 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/no-database-selected-first-time-attempting-blog#comment-1191550</link>
    <description> &lt;p&gt;Ok, well, I would have gone about it differently, so maybe if you try it the way I would have done it, it will work.  First, I&#039;d delete the table you created.  Then, i&#039;d start over.  Once you select the database from phpmyadmin, look right above the database name, and you should see a little icon that says SQL.  Click on that and replace whatever default sql statement that they have there (mine says SELECT * FROM `word` WHERE 1), with the entire sql statement that the developer gave you.  Then click on Go.  That should set up the table for you with no further work on your part.  Hope that helps.&lt;/p&gt;
 </description>
     <pubDate>Tue, 24 Jan 2006 20:55:46 +0000</pubDate>
 <dc:creator>ddf1230</dc:creator>
 <guid isPermaLink="false">comment 1191550 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/no-database-selected-first-time-attempting-blog#comment-1191549</link>
    <description> &lt;p&gt;Yeah, I knew this stuff was a little &quot;over-my-head&quot; but I thought I&#039;d give it a try. Up to this point I&#039;ve been able to use phpmyadmin to create a new database however I have been unable to create a table. &lt;/p&gt;
&lt;p&gt;I will explain how I attempted to create a table:&lt;/p&gt;
&lt;p&gt;After clicking on phpmyadmin I got a new window. From here, I am required to choose a database from a drop-down list in order to continue, and so I did. I chose _blog which is the name of the database I originally created. From there I was transferred to another page.&lt;/p&gt;
&lt;p&gt;From this new page I am asked to &quot;Create new table on database global1_blog:&quot; which I have done, and I gave the table the name wfblog (I got that table name from the php script). I am also asked to provide a number for the &quot;Number of fields:&quot; and input that number into a box. Since I have NO IDEA what this means I just enter the number 1 ... then I click on &quot;Go&quot;.&lt;/p&gt;
&lt;p&gt;I arrive at yet another page, and apparently this is where all my troubles begin.&lt;/p&gt;
&lt;p&gt;On this page I have to input a bit of information. When doing so, I&#039;ve used the information from the script (supplied by the developer and which I included in &lt;strong&gt;BOLD&lt;/strong&gt;, in one of my previous posts above). I&#039;m asked to supply the following information.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Field       Type       Length/Values*       Attributes        Null        Default**      Extra&lt;/strong&gt; &lt;/p&gt;
&lt;p&gt;I am only having a problem with one of these... the &quot;Field&quot;..... I can not input anything at all into the Field area without getting a message like the following: &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;#1063 - Incorrect column specifier for column &#039;wfblog&#039; &lt;/strong&gt; &lt;/p&gt;
&lt;p&gt;Now, it doesn&#039;t matter what I put into the Field area. Nothing works. If there is something inside the script that is supplied for me by the developer that MUST be put into this area then I am not seeing it, or understanding it. All I know is nothing is acceptable for the Field area! I get the same error message all the time (except for the &quot;wfblog&quot; part at the end of the error message, that will change to whatever I tried to input into the field area) and therefore I am unable to continue on and create the required table . I&#039;ve tried numbers, different names, and even greek stuff etc... but the Field area won&#039;t take any of it.&lt;/p&gt;
&lt;p&gt;Oh and one last thing, if I attempt to view the blog using a browser, the browser returns the following error..... Table &#039;global1_blog.wfblog&#039; doesn&#039;t exist. I&#039;m not surprised since there is no table created, I just thought it may help you.&lt;/p&gt;
&lt;p&gt;That&#039;s about all I&#039;ve got for now. If it&#039;s too much then I&#039;m gonna have to call it a day and quit &amp;lt;----I hate that word.&lt;/p&gt;
&lt;p&gt;Once again, thanks for your interest.&lt;/p&gt;
 </description>
     <pubDate>Tue, 24 Jan 2006 20:36:19 +0000</pubDate>
 <dc:creator>NewTechGuy</dc:creator>
 <guid isPermaLink="false">comment 1191549 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/no-database-selected-first-time-attempting-blog#comment-1191541</link>
    <description> &lt;p&gt;I&#039;m a little lost on what you attempted to do, but if you use phpmyadmin, you should be able to enter the sql code exactly as provided by the script developer and it should work.  Perhaps if you tell us how you were attempting to go about creating the table, it would help.&lt;/p&gt;
 </description>
     <pubDate>Tue, 24 Jan 2006 18:56:29 +0000</pubDate>
 <dc:creator>ddf1230</dc:creator>
 <guid isPermaLink="false">comment 1191541 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Hostname is correct but...</title>
    <link>https://www.webmaster-forums.net/serverside-scripting/no-database-selected-first-time-attempting-blog#comment-1191522</link>
    <description> &lt;p&gt;I checked with my hosting provider and the hostname is correct (localhost). I&#039;ve made progress but am stuck once again. I cannot create the needed table for this project. It won&#039;t let me put anything in the FIELD section (box). There must be something that HAS (or can) go into it. Can anyone let me know what I&#039;m supposed to put into this box?&lt;/p&gt;
&lt;p&gt;This is the error messsage I get from the server:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;CREATE TABLE `wfblog` (&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;`wfblog` VARCHAR( 255 ) NOT NULL AUTO_INCREMENT ,&lt;br /&gt;
PRIMARY KEY ( `10` )&lt;br /&gt;
) TYPE = MYISAM&lt;br /&gt;
MySQL said:  &lt;/p&gt;
&lt;p&gt;#1063 - Incorrect column specifier for column &#039;[B]wfblog&#039; [/B] &lt;/p&gt;
&lt;p&gt;And the following is the code I have to work with. It was supplied by the developer of the script. (Maybe someone can see something that I&#039;m missing.)&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Here is the SQL syntax for creating the needed table...&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;                  CREATE TABLE wfblog (&lt;br /&gt;
                  blog_id int(11) NOT NULL auto_increment,&lt;br /&gt;
                  title varchar(255) NOT NULL default &#039;&#039;,&lt;br /&gt;
                  content text NOT NULL,&lt;br /&gt;
                  published timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,&lt;br /&gt;
                  display char(1) default NULL,&lt;br /&gt;
                  PRIMARY KEY  (blog_id)&lt;br /&gt;
                 )&lt;/p&gt;
&lt;p&gt;Thanks for any further assistance.&lt;/p&gt;
 </description>
     <pubDate>Tue, 24 Jan 2006 16:42:04 +0000</pubDate>
 <dc:creator>NewTechGuy</dc:creator>
 <guid isPermaLink="false">comment 1191522 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
