Thursday, May 29, 2008

I would like to execute a mysql query like this and want to know if there is any problem with doing so.

$sql="insert into `products`(`products_quantity`)
values( mysql_real_escape_string
($_POST[ products_quantity ]) )"

is this possible

i found a tutorial that told me how to name my ip or local host to a domain name but now cant find it on net. i have a registered domain and dns so on. i want to host it using apache2.8 i have done everything to make mysql-php-apache- and phpmyadmin work together but still cant name local host and for some reason it not showing on net just my pc. any help would be appreciated.

Thanks a lot to all of you who answered my previous question.
Ok- I want to build a commercial-like dynamic website.
Can I do that by learning/using Frontpage(or Dreamweaver) together with php/mysql?
I ve been told it would be a waste of (lots of precious) time and that I d be better off using a cms like Joomla.
I ve looked at Joomla and it looks so dreary having to do all these modifications and adding plug-ins. On the other hand- is it true that learning/using php/mysql to get the functionalities that Joomla and its plug-ins offfer IS a very TALL ORDER?
I m kind of lost here as you can see!
thanks again
Dave
Can I use Dreamweaver and php/mysql to create any kind of website (with any commonly used functionalities) that I fancy?

Hi-

I m new to PHP and am trying to write code that allows a user to upload a file- along with a number of different inputs (name- description- etc.) that will all go into a MySQL database.

I ve checked countless forums and tutorials and can successfully create a script that simply uploads a file into a folder in my directory- but I can t find anything that allows me to add forms and inputs so I can get additional information in my database.

I m currently doing it from a "upload.php" file which connects to a "config.inc.php" file as well as an "uploader.php" file. The config.inc.php file also connects to a "mysqli connect.php" file.

Not sure if I m even doing it the right way- but any explicit help would be greatly appreciated!

Thanks

No comments: