Everything posted by BlackMagic
-
How do they do it?
Hey Guys, I was just wondering, You know games o nfacebook such as Mafia Wars, Farmville etc. They are obviously very database heavy and dependant but the database for each unique user would surely be huge right? Can someone point me in the right direction on how this is done? Thanks In Advance!
-
PHP MYSQL - Mini database for each user?
Just a quick question guys, PHP and MYSQL Im developing a Facebook Game that runs off a MYSQL database - However, I need to store quitew alot of information for each user such as how much money they have, all the features tehy have in there complex etc. I wqas thinking that creating another table called 'users' for example would be too heavily dependant and would literalty have hundreds of columns as there is alot of information - do you guys have any ideas of some way of creating like a spererate mini database for each user? Im kind of tryign to figure out how gamres such as Mafia Wars remeber so much information about you? Thanks In Advance
-
Thoughts on my site
Anyone?
-
please review my website
I've never been a big fan of music unless is absolutly needed
-
Thoughts on my site
Completley agree - I have never a had a problem with them untill then! Anyway they have apologise and its up and running. Sooo - http://www.seemenus.co.uk/ Please can you give me some feedback ! Once again, Thanks in Advance!
-
Please review my site!
Repost accident - Please ignore
-
Thoughts on my site
Sorry Guys! AHHH 1and1!! Will post again when its back up!
-
SEO not working - Please help!
Hey Guys, I have had a clients website up and running for around 2 and half months now but still it is not listed on any search engines. SeeMenus.co.uk - Takeaway Menu Website Please Does anyone one have nay tips? Or nay reason why this website would nto be working? Thanks in advance!
-
Thoughts on my site
Hey Guys, Would really apreciate some feedback on a site im doing for a client. The Good, The Bad, The Ugly and The Evil would all be welcomed! SeeMenus.co.uk - Takeaway Menu Website Thanks in Advance!
-
Please tell me why my fonts ar not showing up?
Thank You Guys! You alwasy seem to clear everythign up - don't know wherre i would be without this site!
-
Please tell me why my fonts ar not showing up?
.info { font: sans-serif; color:#999999; font-size:18px; padding-left: 10px; } So what would i change here? Sorry, but i think ive tried everything. Thanks in advance
-
Please tell me why my fonts ar not showing up?
Hey Guys, My CSS is nto displaying my fotns properly in any browser (ie or firefox). My div tags are beign displayed though - please help! http://www.webcarparts.co.uk/1/sort.html - this is my webpage - as you can see the div tags work fine, thefor ir must be finising the CSS. http://www.webcarparts.co.uk/1/style.css - thisd is where the css is located. I would really apreciate if soemoen took the time to show me what im dong wrong as this is driving me crazy! Thanks in advance!
-
fixed side nav with changeable body
Hey guys, This is driving me crazy. How do i have a left and right hand side nav that is a fixed width and never chnges width, and a middle body div tht changes width depending on the resolution of the screen? a good example of what im looking for is http://www.play.com Play.com Thanks in advance guys
-
1a1 and php mysql database - HELP!
Anyone have any ideas?
-
1a1 and php mysql database - HELP!
Please help guys, I have experience in database design etc, but not on the 1&1 servers - I am new to it. I am having trouble connecting to the MySQL database i created. I logged into the my administration section and then went to the 'Websites & Applications' section. Next I went into the 'MySQL administration' section. Once here I clicked 'new database'. On thre next screen I entered the DB name, and then on the next page a list of variables were given to me including the ones you need to connect to the DB using MySQL & PHP, these were ....... Database Name, DB User Name, DB Password, Host Name. The problem is I am trying to connect to the database through mySQL-front so that for I know that its possible to connect to the database (without having to test it using PHP code). The problem is that it doesn't even connect to the database using mySQL. I am stumped at what has gone wrong. I read the following at the top of the MySQL administration page: "Your MySQL databases are stored behind a firewall to protect your data. You can only access each one exclusively through your server. Direct access to your MySQL databases using a home PC (external ODBC connection) cannot be established. " Does this mean that you cant connect to the database from outside the control panel/admin section? Is this causing my connection error? Any help would be great as I am really stuck. I just get the following error message - Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) Anyone help? Thanks
-
search in column keywords
Hey Guys, I have a column in my database called keywords - how would be the best way to implement this for a search in PHP. Is it a specifc Mysql query? please advise. At the moment i have - select * from aircon_products where keywords LIKE '%$search_word%' search word is obviously the form. But the problem is it doesnt really work. I want it to return the correct information when it checks all the other collums. For example if the user searchs - polo, then it looks across that row and returns volkswagon, petrol, reg number etc. Thanks in advance
-
Join two tables PHP
I wish i could, but the prices are linked to the id. I didnt get the prices through till a later date Thanks
-
Join two tables PHP
Hey guys, this has been driving me mad all day. Ive tried so many diffrent combinations, watched the server have a processing fit. Everything. I Have two tables like this products | ID | Product | Description | pricing | ID | Price | I have a loop that calls all the products in the database from a query - for example select * from products where product is 'tshirt'. however i need to list the price and thisd is my problem. How do i get the price from pricing to match up with id (that is the same for both tables) in the products table with the pricing in the pricing table? please help guys. thanks in advance
-
Basic PHP problem from a beginner.
Hey Guys, Ive been racking my brain as to why this is not working. Thought i would ask you guys for some help as its driving me crazy. The login detaisl are all correct i just am condused as to wehy the data is not beign displayed! <?php // Make a MySQL Connection mysql_connect("localhost", "admin2", "password") or die(mysql_error()); mysql_select_db("data") or die(mysql_error()); // Get all the data from the "example" table $result = mysql_query("SELECT * FROM products WHERE Type LIKE 'Compressor' and manufacturer LIKE 'AGCO'") or die(mysql_error()); echo "<table width='470' border='0' cellspacing='5' cellpadding='0'>"; // keeps getting the next row until there are no more to get while($row = mysql_fetch_array( $result )) { // Print out the contents of each row into a table echo "<tr>"; echo "<td colspan='2'>"; echo $row['model']; echo "</td>"; echo "</tr>"; echo "<tr>"; echo "<td width='139'></td>"; echo "<td width='316' valign='top'>"; echo "<strong>Engine CC: </strong>"; echo $row['engine_cc']; echo "<br>"; echo "<strong>Fuel Type: </strong>"; echo $row['fuel']; echo "<br>"; echo "<br>"; echo "<strong>Start: </strong>"; echo $row['start']; echo "<br>"; echo "<strong>End: </strong>"; echo $row['end']; echo "<br>"; echo "<br>"; echo "<strong>OE Number: </strong>"; echo "<br>"; echo $row['oe']; echo "<br>"; echo "<br>"; echo "<strong>Comments: </strong>"; echo "<br>"; echo $row['comments']; echo "<br>"; echo "</td>"; echo "</tr>"; echo "</table>"; ?> Would really appreciate some help. Thanks in advance
-
DIV Tags center
crystal clear! Fantastci Mike. Thank You very much
-
DIV Tags center
Thabks mike! wht do i need ot set it as? static?
-
DIV Tags center
Thats the example i used origionnaly, however the DIV being used will contain over div's and therefor it wont work. Ive tried but the div inside the div does not go to the center and just to its orgional place. below is the code for the div inside the div. Thanks in advance
-
DIV Tags center
Hey Guys How easy is it to center div tags for a webpage? I have searched teh forum, found a fix but firefox does not like it. Does anyone know any ideas? Much apreciated. Thanks in advance