Jump to content

Quantum1982

Members
  • Posts

    11
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Quantum1982's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Ok thanks. First of all I cannot even see XAMP in the Add or REmove programs dialog box. I tried o removed it manually and installed it in the root directory after following the instructions carefully. I also still cannot get a.php file to run. One radical solution I can think of is to give you access to my computer via remote assistance. I trust that you won't do anything malicious to my computer, as I will be watching you anway. What do you say about this ?
  2. Then I geT This [attachment deleted by admin]
  3. Ok Thanks I seem To have Trouble jusT geTTing a .php file To display in a brower. Here are some more screens. I also downloaded a php/mysql web generaTor which also doesn'T wanT To connecT To MySql There is no HTDocs in The apache folder. Cheers [attachment deleted by admin]
  4. Ok thanks. This program is very good, makes things a lot easier. Although now I suspect I might have a problem with absolute and relative paths. ( although I did relocate the files to the root directory, so maybe I am just imagining things ? ) I am going to try php now. Here are some more screens. Thanks for all the help so far Cheers [attachment deleted by admin]
  5. Ok Thanks. BuT why is PhPDesigner noT running ? How else can I run .php files ? WhaT is The easiesT way ? Thanks
  6. Thanks I have some experience in SQL, but my main problems are usually getting all the software and the drivers to work together on my computer. I am using PHPDesigner 7. I can't connect to MYSql database. Also php code just doesn't want to run. Here are the screens: Thanks [attachment deleted by admin]
  7. Sorry here is the file [attachment deleted by admin]
  8. Greetings. Yes I agree with the previous statement. I have some experience in SQL, but my main problems are usually getting all the software and the drivers to work together on my computer. I am using PHPDesigner 7. I can't connect to MYSql database. Also php code just doesn't want to run. Here are the screens: Thanks
  9. Yeah sorry about double post : There are so many buttons on this site, the navigation in itself takes time to learn. I have decided to rather swich to MySql using Php. This in itself is taking me time to learn, just the installation is complicated. Although I am getting there. I suppose the other thing that makes this more complex is the person's particular hardware and software, sometimes it makes a difference. I am using PhpDesigner 7 Laptop is running Windows XP. Thanks
  10. the web page displays nothing ? <html> <body> <?php $conn=odbc_connect('Towel','',''); if (!$conn) {exit("Connection Failed: " . $conn);} $sql="SELECT * FROM Towel"; $rs=odbc_exec($conn,$sql); if (!$rs) {exit("Error in SQL");} echo "<table><tr>"; echo "<th>ProductID</th>"; echo "<th>Name\</th></tr>"; echo "<th>Dimensions\</th></tr>"; echo "<th>Weight\</th></tr>"; echo "<th>Color\</th></tr>"; while (odbc_fetch_row($rs)) { $ProductID=odbc_result($rs,"ProdcutID"); $Name=odbc_result($rs,"Name"); $Dimensions=odbc_result($rs,"Dimensions"); $Weight=odbc_result($rs,"Weight"); $Color=odbc_result($rs,"Color"); echo "<tr><td>$ProdcutID</td>"; echo "<td>$Name</td></tr>"; echo "<tr><td>$Dimensions</td>"; echo "<td>$Weight</td></tr>"; echo "<tr><td>$Color</td>"; } odbc_close($conn); echo "</table>"; ?> </body> </html> In internet explorer
  11. what is wrong with this code ? <html> <body> <?php $conn=odbc_connect('Towel','',''); if (!$conn) {exit("Connection Failed: " . $conn);} $sql="SELECT * FROM Towel"; $rs=odbc_exec($conn,$sql); if (!$rs) {exit("Error in SQL");} echo "<table><tr>"; echo "<th>ProductID</th>"; echo "<th>Name\</th></tr>"; echo "<th>Dimensions\</th></tr>"; echo "<th>Weight\</th></tr>"; echo "<th>Color\</th></tr>"; while (odbc_fetch_row($rs)) { $ProductID=odbc_result($rs,"ProdcutID"); $Name=odbc_result($rs,"Name"); $Dimensions=odbc_result($rs,"Dimensions"); $Weight=odbc_result($rs,"Weight"); $Color=odbc_result($rs,"Color"); echo "<tr><td>$ProdcutID</td>"; echo "<td>$Name</td></tr>"; echo "<tr><td>$Dimensions</td>"; echo "<td>$Weight</td></tr>"; echo "<tr><td>$Color</td>"; } odbc_close($conn); echo "</table>"; ?> </body> </html> the file just doesn't show anything in Internet Explorer
  12. Greetings, I have just joined this site. I have just started to learn PHP was request of a potential employer. I hope this language will be easy to learn. Alas I have already encountered a problem. Although, greetings. Cheers
×
×
  • 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.