User Profile

Collapse

Profile Sidebar

Collapse
11oclocktuesday
11oclocktuesday
Last Activity: May 5 '08, 04:20 AM
Joined: Nov 17 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • There was a problem with the tutorial I was using, I found this test script for just testing if the MySQL connection works. I then just kept adding components until it was usefull[php]<?php $link = mysql_connect
    ('localhost','r oot','mysecretp assword');
    if (!$link) {
    die ('Could not connect to MySql: ' . mysql_error() );
    }
    echo 'Connection you little beauty it works;'
    mysql_close($li nk);
    ...
    See more | Go to post
    Last edited by ronverdonk; May 4 '08, 05:18 PM. Reason: format code and code tags!

    Leave a comment:


  • 11oclocktuesday
    started a topic onclick event - post and execute function?

    onclick event - post and execute function?

    I have a page that I want to collect some simple data to send to a MySQL database, and execute a javascript function on the page. At the moment it works - but only with 2 buttons - one button's onclick event starts the function, and the other button 'posts' the data. Does anyone know what code will start a function and post data to the MySQL server in the one hit?
    See more | Go to post

  • http 500 internal server error - installation problem only on MySQL

    Can anyone help.

    I try to run a simple MySQL script within PHP on my computer using it as a local host - and I keep getting http 500 internal server error. My computer will run the php script if I take out the MySQL instructions.

    I have set up my computer with php 5.2.5, Apache 2.0.63, MySQL 5.0. I can access all the files under locahost and it can run php scripts - so Apache and php must be OK. I can run MySQL from...
    See more | Go to post
No activity results to display
Show More
Working...