Archive for March, 2009

php and mysql
Asbestos asked:


I’m making a website and need to allow users to log-in and store information. I only have access to one database, but I can make as many tables and fields as I need.

What sort of structure should I use to store the information? Do I have to use some “index” thing?

I know almost nothing about MYSQL, but I’m good at coding things I don’t know. The PHP and the HTML forms is a cinch, I just need to know how to structure the files.

Thanks!
I have PHPmyAdmin. You are not understanding the question. How should I organize the data? Should I have a seperate table for each user? Should I have a table just for usernames and a table for passwords and a table for other things?
Do I need an index? Stuff like that! Examples would be good.

Tags: , ,
php and mysql
Emy asked:


Where do i find complete tutorial about building dynamic search engine combo boxes in php and mysql,wherein information are from the database? I have three combo boxes and i want to populate it from the data on the database.and when user click the search button answers are generated based on what is being chosen on the combo boxes list of values.

Tags: , ,
php and mysql
lingo1244 asked:


I have a content management and display website. Basically, I use php and mysql together to input and display articles. The problem is, when I copy the articles in, the paragraphs are indented the way I typed it. However, once I submit it, the indentation is lost. I know this is due to html. Is there any AUTOMATED way to fix this problem. I don’t want to go through everything typing    or
. Does anybody know of an AUTOMATED method to do this?

Tags: , ,
php and mysql
falcon_developer asked:


I have a MySQL DB that has a DB w/ one table, that having two rows. I use this PHP to retrieve it and put it into a table (It’s for hi-scores):

$fetch = mysql_query(”SELECT * FROM scores ORDER BY score DESC LIMIT 10″);

while($row = mysql_fetch_array($fetch))
{
echo “

&nbsp $row[name] &nbsp &nbsp $row[score] &nbsp

“;

}

Originally, the middle space between two horizontal cells were the same, but the outside edges were shrunk to the text. Ia used the “width” command in my table tag, but now the center line is screwed up. (The page is here:

http://www.pennyontherail.com/score10.php )

How do I fix that?

Tags: , ,
php and mysql
Why So Serious? asked:


I have a background in web design but would like to get a solid understanding of creating with PHP and MySQL. I have a few books but they seem to bore me. Any other ideas?

Tags: , ,
php and mysql
thelastpirate asked:


I created my website cosmetics with Frontpage 2003. Now I want to throw in some PHP code to create user sessions, as well as transmit all of the information the visitors insert on the registration page to a mySQL database. Is there a program/script out there to simplify this process? If avoidable, I would like to not write out all the entire script from scratch.

Tags: , ,
php and mysql
h0m3r.simps0n asked:


I have installed the latest Apache and PHP and both are working properly. But now I am having problems with the MySQL database. I don’t know the steps to configure PHP to work with it. I followed the documentation at php.net but I think I am doing something wrong, that’s why it is not working. Please don’t tell me to download a bundled software that includes all three(Apache, PHP and MySQL). I just want to “try” all three seperately.
Already did that(removed the “;” before php_mysql.dll and mysqli.dll), but still not working. I don’t know what else to do. Am I supposed to add the location of the MySQL to the PATH?
I am using Windows XP if that helps. Just need to know the steps(after installing MySQL) to configure PHP to work with MySQL.

Tags: , ,
php and mysql
minhnguyenvan asked:


I am trying to install punbb on my Windows XP, I have changed PHP (4.x, 5.x) and MYSQL(3.x, 4.x, 5.x) versions many times, but I can’t pass installation step. When I submitted info from install.php, the error message said that the client does not support authentication protocol which was requested by the server. Who is experienced on this, pls give me a better way?

Tags: , ,
php and mysql
Roland asked:


I have no programming experience beside some html. If I learn Mysql & Php for 6 months what are my chances to find a job? I am 48. If I can’t find a job can you find freelance job easily with that knowledge? I don’t care being paid $ 15/H as long as I can stay home. Thanks

Tags: , ,
Next posts » Back to top