Jump to content

mikeymizrahi

Members
  • Posts

    17
  • Joined

  • Last visited

    Never

Everything posted by mikeymizrahi

  1. I am trying to set up a very very simple CMS for a website- a status update. I am using an html form to post to a database and am then displaying the "status." When I display the status, it shows all the previous entries- Is there a function to display the last or most recent entry? I have tried numerous different ways- even using UPDATE instead of INSERT but had no luck. Help?
  2. thanks for all your feedback. i'm definitely still working on the padding issues- the site is in no way final or ready to launch and about the comic sans- i was VERY hesitant to use it, but it seemed appropriate in this specific case- the whole site was in Trebuchet before (my personal favorite web font, though much overused) and im happy you agree that this site can pull off comic sans. wow- who ever thought fonts were so important? thanks again.
  3. a subtle comment- the rounded edge images need to have their colors altered- the royal blue on the gradient background sticks out- probably difficult to change as the color of the image would have to change depending on the amount of content and where it would lie on the gradient background probably not that big of a deal- very subtle and only those analyzing the site would see it
  4. Hi Guys, The following is a website that I am actively working on for a cheesecake shop in Brooklyn. I need a little bit more direction and critique before I finish up. http://mizrahi.myvnc.com/justsaycheesecake/8 ALL feedback is welcome. PS- This site is using a "Nifty Rounded Corner" Template which I have edited- a lot.
  5. i think i follow, but can you explain that?
  6. can someone help explain to me how i can write a php script to show a bunch of pictures on a web page- for example, i have 200 pictures in the folder "pictures" instead of me having to link each and every photo like this: <img src="/pictures/image1.jpg"> <img src="/pictures/image2.jpg>, etc, etc, what php function or script can automatically write this for me and show the pictures? thats what php does afterall, right? dynamic pages! p.s.-i did this the manual way on this page- [url=http://www.horsebackride.com/jb/photos/shpphotos/shp1.html]http://www.horsebackride.com/jb/photos/shpphotos/shp1.html[/url] and would like to learn the new way to save me a lot of time, and use php to its potential
  7. i suspect that my server is only working in my home network, possibly because of faulty router port forwarding setup i tried accessing through a proxy and it seemed to work, but when i am in school, i can't access the site can use help in two areas: 1. if you can't reach the site- is there a problem in my httpd.conf file? my router SEEMS to be set up correctly, and i havent made any changes to my server setup? any troubleshooting ideas? 2. if you can reach the site- why can't i reach it in school? i can reach my router's remote management, but not the server port...any possible answers? address is: [url=http://mizrahi.mine.nu:8080/]http://mizrahi.mine.nu:8080/[/url] thanks.
  8. i am using apache v. 2.0.55 with php 5.1.4 i am using authtype basic and require valid-user in my httpd file everytime i create a new user, it overwrites the other passwordfile. therefore, i am only able to have one user at a time how can i stop this?
  9. [url=http://www.horsebackride.com/jb/home.php]www.horsebackride.com/jb/home.php[/url] any feedback you have would be helpful
  10. can i add a prefix to my site by editing apache settings, or using any other method? for example, instead of having this address [color=red] mysite.com/gallery [/color] having this one: [color=green] gallery.mysite.com [/color]
  11. i have the following css set up for the menu items at this site [url=http://www.horsebackride.com/jb/home.php]www.horsebackride.com/jb/home.php[/url]. the active rule doesnt work, and i cant figure out why- here is the css- [color=blue]#menu a {   text-decoration: none; } #menu a:link {   color: white; } #menu a:visited {   color: white; } #menu a:active { color: gold; } #menu a:hover { color: gold; } #menu li {   display: inline;   border: 2px solid white;   width: auto;   margin: 0 6px;   padding: 0; }[/color] also, what can i do to make the copyright box at the bottom have no underlines on the links- nothing i try seems to work.
  12. Working! The libmysql.dll file was in the PHP folder. I copied it, and it worked! Thank you VERY much! -- mikey
  13. yeah, the php info page is at http://mizrahi.ath.cx:8080/php/php.php
  14. i tried both this one: [color=blue]<html> <body> <?php $con = mysql_connect("localhost","root","password"); if (!$con)   {   die('Could not connect: ' . mysql_error());   } ?> </body> </html> [/color] and this one as connection.php, like you suggested [color=red] <?php session_start(); $database_host = "localhost"; $database_username = "root"; $database_password = "password"; $database_name = ""; $connection = mysql_connect($database_host, $database_username, $database_password) or die(mysql_error()); $db = mysql_select_db($database_name, $connection); ?> [/color] neither worked, both gave the same error message- where can i go to find my username, host and other info
  15. i get the same error- maybe i have my username, password, host or database name wrong?
  16. I'm new to mysql and am kind of familiar with PHP. When trying to connect to mysql through php, i get the following error message: "Fatal error: Call to undefined function mysql_connect() in C:\www\s.php on line 6" line 6 reads "$db = mysql_connect("localhost","root","mypasswordhere");" i have tried different variations of this line like $con. i can connect to the db on the mysql command line (no php involved). where is my problem? site is: http://mizrahi.ath.cx:8080/php/s.php thanks, mikey
×
×
  • 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.