Jump to content

bthart

New Members
  • Posts

    5
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

bthart's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi, In the past I have had previous problems using .htaccess on windows however I willing to take another bash at it due to my mistake my likley last time. As I said before I am not handy with code and need a quick to use soloution. Thanks, Brian
  2. Hey, Yeah - It has croossed my mind many times and I would be happier to use php over .htaccess due to the fact that I am using a windows computer. But I have not yet been able to find a FREE soloution that supports the wanted features AND WORKS... Thanks, Brian
  3. Hi, I could not work it out however I have now just put a dot in every cell. This allow for the lines in the table to create empty cells where there is no data and not just leave a section with out lines. Thanks, Brian
  4. Hi, I am sorry if I have posted this into the wrong section how It's possible that htaccess is my soloution. I am not very handy with code and therefore am trying to find a quick and easy soloution to the following problem. I have a website however it must be strictly password protected. It is coded completley in php. I understand that htaccess can provide simple password protection however I have two problems with this. 1. It does allow for you to implement a login form 2. It does not allow for extra features such as user profile changing page. Of course I can live with out the first one but the second is nessarcy to allow for easier maintaining. Hopefully someone has come accros some nifty soloution in the past. With thanks, Brian
  5. Hi, I have got of hold of this snippet of code through another website however in my database I have a number of cells which dont have any data. The code displays these as nothing however I wish still for the lines to be there for easier aligning when looking up data. Here is the code I have, <html> <head><title>(Title Here)</title></head> <body> <?php $db="mydatabase"; $link = mysql_connect("localhost"); if (! $link) die("Couldn't connect to MySQL"); mysql_select_db($db , $link) or die("Couldn't open $db: ".mysql_error()); $result = mysql_query( "SELECT * FROM birthdays" ) or die("SELECT Error: ".mysql_error()); $num_rows = mysql_num_rows($result); print "There are $num_rows records.<P>"; print "<table width=200 border=1>\n"; while ($get_info = mysql_fetch_row($result)){ print "<tr>\n"; foreach ($get_info as $field) print "\t<td><font face=arial size=1/>$field</font></td>\n"; print "</tr>\n"; } print "</table>\n"; mysql_close($link); ?> </body> </html> Thanks, Brian
×
×
  • 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.