Jump to content

lssjg

Members
  • Posts

    27
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

lssjg's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. nah it wasnt running... thanks so much... it's now running.. thanks so much!
  2. [!--quoteo(post=376867:date=May 24 2006, 08:54 PM:name=legendary ssj goku)--][div class=\'quotetop\']QUOTE(legendary ssj goku @ May 24 2006, 08:54 PM) [snapback]376867[/snapback][/div][div class=\'quotemain\'][!--quotec--] all there is is a mysql command line client which opens up asking for my password... which once i enter my password it quickly flashs enter and then shuts.... i know the password is correct because it is stored in all my php config files. in my www folder..... i don't know what i am using.. i have windows xp pro mysql apache 2.0.55 php 5.1.2 [/quote] BUMP P.S. i keep trying to get a screen shot of the error,, but it is way to quick.... failed about 80 times! REALLY NEED HELP URGENTLY>>>.>otherwise i'm as good as dead
  3. all there is is a mysql command line client which opens up asking for my password... which once i enter my password it quickly flashs enter and then shuts.... i know the password is correct because it is stored in all my php config files. in my www folder..... i don't know what i am using.. i have windows xp pro mysql apache 2.0.55 php 5.1.2
  4. i have apache started and runnings..... it's just mysql usually runs.. but today when i logged it... and logged in and again.... it didn't start mysql... just apache.... so how do i start mysql... i have tried restarting apache... but it doesn't work i need eto know by as soon as possible because i have projects to hand in... and they wont take mysql as an awnser
  5. ok... as usual i turn on my computer, load dreamweaver, do something and open the site in ff and ie to test it..... goes fine.... been doing that for ages... then suddenly today.. i open dreamweaver and open ff and ie, send them to localhost/site and it says that it can't connect (what i got it to say if it can't connect), and that there was an error on line 8. On line at is the connect to mysql host. Now, i would go check all the files and everything, but it worked yesterday... and all my other stuff on localhost, works... just not anything that has connect because it can't connect. i haven't changed any files or anything! please help as soon as posible because i can't do anything while it doesn't work...and i have projects and everything due soon
  6. the reason why i made another post... is because i couldn't work it out... i tried 3 other methods.... and the script i am currently trying is the 1st example (in a couple of posts above). Once i get that working i will modifiy it to my hearts content...
  7. ok... now the 2nd never really worked... and without editing this new 3nd i get Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in E:\Websites\Server\www\site\site\news.php on line 21 Anyway.. that's href=\"user.php?action=profile&mode=view&user={$news['author']}\">$username</a> | what i was really trying to do is... before this thread i could get everything woring but, i got resource id # something as the username..... so i start using the 1st example.... and suddenly the news (the actual) news doesn't turn up...... what iw ant is for the news to come back
  8. Hey, thanks.... i have taken a look at both... the 2nd doesn't work... but the 1st does, so i'm using that, but i have edited it quite a bit....... it almost looks like a different language.... hee [img src=\"style_emoticons/[#EMO_DIR#]/laugh.gif\" style=\"vertical-align:middle\" emoid=\":laugh:\" border=\"0\" alt=\"laugh.gif\" /] anyway..... now my only problem, is now the actual news isn't showing up on ff or ie
  9. bump.. i really would quite like to know this... could someone give an example
  10. Huh........ that kinda doesn't make much sense... could you give an example... like i have read it but i don't kinda understand ... could you show me what you mean?
  11. for the 2nd time i am stuck.,... this time it isn't just adding { and }. The following my edited version of the whole php script... the bits i took out is just the table and the layout of each table of news... [code]<? include 'include/config.php'; $query = mysql_query('SELECT * FROM news ORDER BY newsid DESC'); while($news = mysql_fetch_array($query)) { $username = mysql_query("SELECT username FROM users WHERE loginname='{$news['author']}'"); echo "<td align=\"center\" colspan=\"2\"> Posted by <a href=\"user.php?action=profile&mode=view&user={$news['author']}\">$username</a> | Posted at {$news['date']} <br /> <br />"; } ?>[/code] Ok... now explanation time... For each row in 'news' it will - grab the username for the 'author' - stick the username in after the words 'posted by' - and a few dozen other things that aren't related to the problem Now... what's happening... there isn't any error... (thus why i don't have anything to go on) instead this happens Posted by Resource id #8 starting at 8... the next news is 9 then 10 and then 11.... that's the 4 test news entries i've done. though the newsid for them isn't 8, 9 10 or 11.. it's 1, 2, 4 and 5... cause i deleted one. Anyway... of course the author part is still working because the link is still going to the correct address i tested putting test1 as the author of an entry and also a member in users... and thus it pointed at [a href=\"http://localhost/site/user.php?action=profile&mode=view&user=test1\" target=\"_blank\"]http://localhost/site/user.php?action=prof...view&user=test1[/a] so it can make the link between the tables... it just gives me resource link all the time. It is doing the same in FF and IE Can anyone please help? P.S. the author is simply the login name of the user that wrote the news.... author isn't username because i'm allowing changing of username....
  12. Ok... doing that..... and it works on both FF and IE.... thanks so much.... it works..... thank-you so very much.... veyr happy [img src=\"style_emoticons/[#EMO_DIR#]/laugh.gif\" style=\"vertical-align:middle\" emoid=\":laugh:\" border=\"0\" alt=\"laugh.gif\" /] [img src=\"style_emoticons/[#EMO_DIR#]/laugh.gif\" style=\"vertical-align:middle\" emoid=\":laugh:\" border=\"0\" alt=\"laugh.gif\" /] [img src=\"style_emoticons/[#EMO_DIR#]/smile.gif\" style=\"vertical-align:middle\" emoid=\":smile:\" border=\"0\" alt=\"smile.gif\" /] thanks, cya
  13. Hey, i'm currently creating a site... and i have nearly finished the member system... so i am now doing the news syetem. Only problem, i can't get the news out. In the mysql table... [code]CREATE TABLE `news` ( `newsid` int( 25 ) NOT NULL AUTO_INCREMENT , `author` varchar( 25 ) NOT NULL default '', `topic` text NOT NULL , `news` text NOT NULL , `date` datetime NOT NULL default '0000-00-00 00:00:00', PRIMARY KEY ( `newsid` ) ) ENGINE = MYISAM DEFAULT CHARSET = latin1 COMMENT = 'News System';[/code] it's something like that... then in the actual news page [code]<? include 'include/config.php'; $query = mysql_query('SELECT * FROM news'); while($news = mysql_fetch_array($query)) { echo "Title: $news['topic'] <br /> Author: $news['author'] <br /> Date: $news['date'] <br /> $news['news']"; } ?>[/code] I am getting the following error Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in E:\Websites\Server\www\site\site\news.php on line 8 Obviously this is not going to be the actual thing... but before i format it... i want to get the coding done. Can someone please tell me what is wrong... P.S. the mysql stuff works... i checked in phpmyadmin and i even added a test row through phpmyadmin. But i still get the above error. [code] echo "Title: $news['topic'] <br />[/code] is line 8 and when i divided the line in 2 [code]$news['topic'] <br />[/code] this part ended up being the problem part If anyone could help me.... sometime soon... it would be extremely helpfull........ Until then i'm kinda stuck
  14. I first thought PS3.... then ps3 and now i don't know... revolution - yes that's right now you can see your favorite characters such as mario and pikachu in better graphics. - ah... yeah awesome...... mabye not.... that's pretty much what they bass them selves on each time the system changes...... the nintendo market is the kindergarten market of the gaming world.... i mean seriously..... anyone up to the age of 10.... or 8 or 10.... would be happy.... and fankly... i think it survives by having those classic characters like little kidies can recognise... + most parents wont get there 7 year old son/daughter a console which half the games include shooting.... x-box - the x-box 360 is like a computer which you can't do work on and can't claim tax deduction on as part of a business. If i wanted a microsoft game... then it i would get it for my computer. ps3 - looks to be bloody expensive... the games are always great quality....a bit of fps and a bit of sports..... bit of other stuff like SW: battlefront II to make it have more topic related fps's.... I got a ps1 when i was younger.....and i have a ps2 slim now..... I think i'll stick with my ps2 till it breaks or until there is a game i must have which is not on any computers..... But, 1st priority... get a better computer.... Mine is currently a slow, win XP, thing with 18 GB total... about 2 left and i clean the crap off the system every week to keep the 2 GB free...... So yeah..... once all the prices go down for all the consoles and a few great games come out i will seee
×
×
  • 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.