Jump to content

gathos

Members
  • Posts

    38
  • Joined

  • Last visited

    Never

Everything posted by gathos

  1. I'm trying to build a social media bookmarker like socialmarker.com- a page that will load sites like reddit, technoratti, and such, in an iframe and auto populate the required fields with what i have filled in already outside of the iframe. now to my question: is there a way to auto populate fields inside an iframe with php? thats the language i'm most familiar with. if not what language would be the easiest to implement this? i know i could just use socialmarker.com, but there are a few bugs that i don't like in it, plus i want to expand my knowledge - see how far i can reach. thanks ahead of time, gathos.
  2. thanks fo the code help, apparently i forgot the ad an s my table name it was sample instead of samples. $result = mysql_query($sql) or die(mysql_error());
  3. thanks for the qick reply, i efited the message to include my proble, lol.
  4. hey guys, I'm looking for the error in my code. I can't seem to find it. anyways the situation is, i have a gallery database, i have my form setup to give each image a name and description. hit submit and then the it supposed to update the database with the description. heres my code for my form page editrec.php: <form id="form1" name="form1" method="post" action="processeditrec.php"> <?php $id = $_GET["id"]; $name = $_GET["name"]; $page = $_GET['page']; mysql_connect("localhost", "username*****", "password****") or die(mysql_error()); mysql_select_db("database*****") or die(mysql_error()); $result = mysql_query("SELECT * FROM samples WHERE id='$id'") or die(mysql_error()); $row = mysql_fetch_array( $result ); $oldname = $row['name']; $oldfilename = $row['filename']; $oldsdesc = $row['sdesc']; $oldldesc = $row['ldesc']; ?> <input name="passid" type="hidden" id="passid" value="<? echo $id; ?>" /> <? function strip_ext($name) { $ext = strrchr($name, '.'); if($ext !== false) { $name = substr($name, 0, -strlen($ext)); } return $name; }; $remove_exts = strip_ext($oldfilename); ?> <input name="page" type="hidden" id="page" value="<? echo $page ?>" /> <br /> <table width="100%" border="0"> <tr> <td width="20%" rowspan="2"><img src="images/<? echo $oldfilename; ?>" alt="" height="100" /></td> <td width="26%">name: <input name="name" type="text" id="name" value="<? echo $remove_exts ?>" class="textfield" /></td> <td>Short Description: <input type="text" name="sdesc" id="sdesc" value="<? echo $oldsdesc; ?>"/></td> </tr> <tr> <td colspan="2" align="left" valign="top"><p>Description:<br /> <textarea name="ldesc" id="ldesc" cols="45" rows="5"><? echo $oldldesc; ?></textarea> <br /> </p></td> </tr> </table> <br /> <table width="100%" border="0"> <tr> <td> </td> <td> </td> </tr> </table> <br /> <table width="100%" border="0"> <tr> <td width="25%" align="left" valign="top"> </td> <td width="25%" align="left" valign="top"> </td> <td width="25%" align="left" valign="top"> </td> <td width="25%" align="left" valign="top"> </td> </tr> </table> <label> <input type="submit" name="submit" id="submit" value="Submit" /> </label> </p> </form> heres my code for my processing page processeditrec.php: <? $name = $_POST['name']; $sdesc = $_POST['sdesc']; $ldesc = $_POST['ldesc']; $id = $_POST['passid']; $obscurity = $_POST['obscurity']; $page = $_POST['page']; mysql_connect("localhost", "username*****", "password*****") or die(mysql_error()); mysql_select_db("database*****") or die(mysql_error()); $sql = " UPDATE sample SET name= '$name', sdesc= '$sdesc', ldesc= '$ldesc', obscurity= '$obscurity' WHERE id = '$id'"; $result = mysql_query($sql); if ($result){ echo "Your record was updated!<br/>"; } else { echo "An error occured during update!<br/>"; } ?> <html> <head> </head> <br> <a href="displayrec.php">Click here to go to the gallery.</a> </html> i can't figure out what is going on. it's probably something simple but, well i can't find it. It won't update the databse with the new info, and on the process page i get " an error occured during the update" but i have no idea how to get it to give me more information. thanks for your help, gathos.
  5. Ok so here's the deal, what I'm looking for is generalization not specific scripting. my boss wants to do a commission based setup for his online sales that i have generated though blogs and other such means. but the propblem i'm having is that we don't have a shopping cart as we are custom stained glass, we have a system that the customer chooses a design they like, give us there sizes and we send them a email quote that was generated by a person. since the affiliate programs i have seen are based for instant shopping cart sales, not custom sales that are different for every customer, and sent through emails. does anyone know of something i might be able to download or maybe some ideas of how i might be able to make some myself, and an idea of how to get to that point. IE: i thought of tracking ip addresses, then putting them in a database if the customer goes throught and actually sends a quote, it would copy it and add that to the database. how do other affiliate programs work? Thanks for your help, and i hope i made sense. gathos.
  6. alright i mad e it work but ... not well... my array looks like this: Array ( [1] => rectangle [2] => cabinet [3] => geometric [4] => bevel [5] => border ) > my code looks like this: <? //turn the string into a array $s = $keywords; $words = split("[ ]+", $s); ?> <? // remove the first empty entry in the array. $i=0; foreach ($words as &$transfer){ if ($i >= 1){$keytra[$i] = $transfer;}; $i++; }; ?> <? //set checkers to 0 $square = 0; $rectangle = 0; $circle = 0; $curvetop = 0; $octagon = 0; $oval = 0; $rake = 0; //check array, see if there is a value that equals any of the checkboxes of this set. foreach ($keytra as &$value) { if (($value == "square")&&($square !=1)){echo '<input name="keywords[]" type="checkbox" id="square" value="square" checked="checked"/> Square <br />'; $square=1;} elseif (($value != "square")&&($square !=1)){echo '<input name="keywords[]" type="checkbox" id="square" value="square" /> Square <br />'; $square=1;} }; foreach ($keytra as &$value) { if (($value == "rectangle")&&($rectangle !=1)){echo '<input name="keywords[]" type="checkbox" id="rectangle" value="rectangle" checked="checked"/> rectangle <br />'; $rectangle=1;} elseif (($value != "rectangle")&&($rectangle !=1)){echo '<input name="keywords[]" type="checkbox" id="rectangle" value="rectangle" /> rectangle <br />'; $rectangle=1;} }; foreach ($keytra as &$value) { if (($value == "circle")&&($circle !=1)){echo '<input name="keywords[]" type="checkbox" id="circle" value="circle" checked="checked"/> circle <br />'; $circle=1;} elseif (($value != "circle")&&($circle !=1)){echo '<input name="keywords[]" type="checkbox" id="circle" value="circle" /> circle <br />'; $circle=1;} }; foreach ($keytra as &$value) { if (($value == "curvetop")&&($curvetop !=1)){echo '<input name="keywords[]" type="checkbox" id="curvetop" value="curvetop" checked="checked"/> curvetop <br />'; $curvetop=1;} elseif (($value != "curvetop")&&($curvetop !=1)){echo '<input name="keywords[]" type="checkbox" id="curvetop" value="curvetop" /> curvetop <br />'; $curvetop=1;} }; foreach ($keytra as &$value) { if (($value == "octagon")&&($octagon !=1)){echo '<input name="keywords[]" type="checkbox" id="octagon" value="octagon" checked="checked"/> octagon <br />'; $octagon=1;} elseif (($value != "octagon")&&($octagon !=1)){echo '<input name="keywords[]" type="checkbox" id="octagon" value="octagon" /> octagon <br />'; $octagon=1;} }; foreach ($keytra as &$value) { if (($value == "oval")&&($oval !=1)){echo '<input name="keywords[]" type="checkbox" id="oval" value="oval" checked="checked"/> oval <br />'; $oval=1;} elseif (($value != "oval")&&($oval !=1)){echo '<input name="keywords[]" type="checkbox" id="oval" value="oval" /> oval <br />'; $oval=1;} }; ?> it works for this section of checkboxes however in the next set it no longer fills out the check boxes that should be listed. this is the code for the next section <? ///now check the next set. $cabinet = 0; $door = 0; $panel = 0; $transom = 0; $sidelite= 0; $ceiling= 0; $skylight= 0; $divider= 0; $sign= 0; foreach ($keytra as &$value) { if (($value == "cabinet")&&($cabinet !=1)){echo '<input name="keywords[]" type="checkbox" id="cabinet" value="cabinet" checked="checked"/> cabinet <br />'; $cabinet=1;} elseif (($value != "cabinet")&&($cabinet !=1)){echo '<input name="keywords[]" type="checkbox" id="cabinet" value="cabinet" /> cabinet <br />'; $cabinet=1;} }; foreach ($keytra as &$value) { if (($value == "door")&&($door !=1)){echo '<input name="keywords[]" type="checkbox" id="door" value="door" checked="checked"/> door <br />'; $door=1;} elseif (($value != "door")&&($door !=1)){echo '<input name="keywords[]" type="checkbox" id="door" value="door" /> door <br />'; $door=1;} }; foreach ($keytra as &$value) { if (($value == "panel")&&($panel !=1)){echo '<input name="keywords[]" type="checkbox" id="panel" value="panel" checked="checked"/> panel <br />'; $panel=1;} elseif (($value != "panel")&&($panel !=1)){echo '<input name="keywords[]" type="checkbox" id="panel" value="panel" /> panel <br />'; $panel=1;} }; foreach ($keytra as &$value) { if (($value == "transom")&&($transom !=1)){echo '<input name="keywords[]" type="checkbox" id="transom" value="transom" checked="checked"/> transom <br />'; $transom=1;} elseif (($value != "transom")&&($transom !=1)){echo '<input name="keywords[]" type="checkbox" id="transom" value="transom" /> transom <br />'; $transom=1;} }; foreach ($keytra as &$value) { if (($value == "sidelite")&&($sidelite !=1)){echo '<input name="keywords[]" type="checkbox" id="sidelite" value="sidelite" checked="checked"/> side lite <br />'; $sidelite=1;} elseif (($value != "sidelite")&&($sidelite !=1)){echo '<input name="keywords[]" type="checkbox" id="sidelite" value="sidelite" /> side lite <br />'; $sidelite=1;} }; foreach ($keytra as &$value) { if (($value == "ceiling")&&($ceiling !=1)){echo '<input name="keywords[]" type="checkbox" id="ceiling" value="ceiling" checked="checked"/> ceiling <br />'; $ceiling=1;} elseif (($value != "ceiling")&&($ceiling !=1)){echo '<input name="keywords[]" type="checkbox" id="ceiling" value="ceiling" /> ceiling <br />'; $ceiling=1;} }; foreach ($keytra as &$value) { if (($value == "skylight")&&($skylight !=1)){echo '<input name="keywords[]" type="checkbox" id="skylight" value="skylight" checked="checked"/> skylight <br />'; $skylight=1;} elseif (($value != "skylight")&&($skylight !=1)){echo '<input name="keywords[]" type="checkbox" id="skylight" value="skylight" /> skylight <br />'; $skylight=1;} }; foreach ($keytra as &$value) { if (($value == "divider")&&($divider !=1)){echo '<input name="keywords[]" type="checkbox" id="divider" value="divider" checked="checked"/> divider <br />'; $divider=1;} elseif (($value != "divider")&&($divider !=1)){echo '<input name="keywords[]" type="checkbox" id="divider" value="divider" /> divider <br />'; $divider=1;} }; foreach ($keytra as &$value) { if (($value == "sign")&&($sign !=1)){echo '<input name="keywords[]" type="checkbox" id="sign" value="sign" checked="checked"/> sign <br />'; $sign=1;} elseif (($value != "sign")&&($sign !=1)){echo '<input name="keywords[]" type="checkbox" id="sign" value="sign" /> sign <br />'; $sign=1;} }; ?> There should be a checkbox in the cabinet checkbox, but there isn't. i hope someone can see the error i made because i can't find it. thanks again, phil.
  7. ok so what i want to do is have a page with 30 checkboxes on it, and save those to a database, however i don't want to have 30 different variables on the database. what i've done so far is to take teh checkboxes and add tehm to an array, and then turn it into one big string, then save the string. however if i go back to the page where the check boxes are, the checkboxes are empty (obviously). so then i split the strring back into an array when i load the page. i've tried something like this, foreach ($words as &$value) { if ($value == "square")){echo '<input name="keywords[]" type="checkbox" id="square" value="square" checked="checked"/> Square'; $square=1;} elseif ($value == "square"){echo '<input name="keywords[]" type="checkbox" id="square" value="square" /> Square'; $square=1;} }; but the output is outs out a checkbox on EVERY variable so instead of just 30 checkboxes i end up with 30 * however many words are in the string. so my question is, can you guys give me some suggestions on how to fill in the checkboxes when i open the page? I really hope i made sense, it's was hard for me to describe. thanks in advance. phil
  8. that's awsome i've been looking for something like this for a while, thank you.
  9. ok so i have a page to add inputs into a database like description, it's a textfield, so i can type description like this: blah blah blah blah blah but when i echo it i get: blah blah blah blah blah how can i get it so that i get to display the same way i entered it? ie: blah blah blah blah blah later days gathos
  10. yeah the desc was the problem. when you mentioned it, i remembered that i had the same problem 6 months ago, and i completely forgot that it was a reserved word. thank you very much. later days, gathos
  11. ok so i have a database setup and running, i have the correct username and password. and all variables can be echoed and they are correct. every time i try to add a new entry to the database it says "An error occured during insert!" i made it say that when the data would not enter, but i can't see WHY it's not entering. please help, i am so confused as to why this isn't working <?php $_COOKIE['cookiename']; $pass = $_COOKIE['cookiename']; $name = $_POST['name']; $sdesc = $_POST['sdesc']; $desc = $_POST['desc']; if ($pass == mypassword) { mysql_connect("localhost", "username", "mypassword") or die(mysql_error()); mysql_select_db("imgdb") or die(mysql_error()); $sql = "INSERT INTO img (name, sdesc, desc) VALUES ('$name', '$sdesc', '$desc')"; $result = mysql_query($sql); if ($result) { echo "Your entry was added to the database!<br/>"; } else { echo "An error occured during insert!<br/>"; } } else { echo 'sorry you have not entered the correct password to access the databse <br> please go back to the <a href="login.php">login page</a>'; }; ?> i am really confused, please help
  12. I mocked up this code, hopefully it will help, even though it's not a direct answer. <html> <head> <title>Untitled Document</title> </head> <body> <form method='post'> <?php $width = $_POST["width"]; $height = $_POST["height"]; ?> <br /> <br /> Width: <input type='text' name='width' /> <br /> X <br /> Height : <input type='text' name='height' /> <br /> <input type='submit' name='submit' value='Calculate' /> <br /> <br /> answer: <? if(!empty($_POST)){ $total = $width * $height; echo $total; }; // to make sure not to display anything until you input a number ?> </form> </body> </html> later days, gathos
  13. ok i didn't actually look through all of the code, but ngreenwood6 had a good point the multiple else can cause problems. If you need these try using a switch: <?php switch ($i) { case "apple": echo "i is apple"; break; case "bar": echo "i is bar"; break; case "cake": echo "i is cake"; break; } ?> If that doesn't help check out the manual http://ca3.php.net/switch They can explain a switch better then I ever could.
  14. hehe i just posted something similar, what is happening is that your variables are strings, so it's adding two strings together, not numbers. a way that i was to to fix it was price = +price + +delivery; it turns them from a string into a integer. i hope this helped.
  15. I don't know if this will help you but i just did up a select option and to access the value that was selected i usedsomething sililar like: var selected_percent = document.getElementById('courseMaintance).value that way i access the value directly, i don't know if it's needed or not, but it works. later days, gathos
  16. thank you, converting to an integer did help, i realized being a string it was litteraly adding the 0 from my other input select's. and also i figured out that there was another problem, with my math.round() I had to put it onto a seperate line first, then i was able to output it. thanks again and later days, gathos
  17. ok so i have an estimate form that figures out how much a peice of glass costs per sq inch. but one of the variables are being multiplied by 10 thi sis my code: <script type="text/javascript"> var cprice = <? echo $_GET["cprice"]; ?>; function estimate() { var height = document.getElementById('glassheight').value; var height16 = document.getElementById('glassheight16').value; var totalheight = height + height16; var width = document.getElementById('glasswidth').value; var width16 = document.getElementById('glasswidth16').value; var totalwidth = width + width16; var ctotal = totalwidth * totalheight * cprice; var sqfttotal = ctotal / 144; document.write(height); document.write("<br>"); document.write(width); document.write("<br>"); document.write(totalwidth); document.write("<br>"); document.write(totalheight); document.write("<br>"); document.write(sqfttotal); document.write("<br>"); document.write(ctotal); document.write("<br>"); document.write(cprice); if (sqfttotal <= (cprice * 2)) { document.getElementById('cprice').value = (cprice * 2); } else { document.getElementById('cprice').value = MATH.round(sqfttotal*100)/100; }; }; </script> Width: <input type="text" name="glasswidth" id="glasswidth" /> <select name='glasswidth16' id='glasswidth16'> <option value='0'>Choose sixteenth</option> <option value='0'>0</option> <option value='0.0625'>1/16</option> <option value='0.125'>1/8</option> <option value='0.1875'>3/16</option> <option value='0.250'>1/4</option> <option value='0.3125'>5/16</option> <option value='0.375'>3/8</option> <option value='0.4375'>7/16</option> <option value='0.500'>1/2</option> <option value='0.5625'>9/16</option> <option value='0.625'>5/8</option> <option value='0.6875'>11/16</option> <option value='0.750'>3/4</option> <option value='0.8125'>13/16</option> <option value='0.875'>7/8</option> <option value='0.9375'>15/16</option> </select> <br /> X<br /> Height: <input type="text" name="glassheight" id="glassheight" /> <select name='glassheight16' id='glassheight16'> <option value='0'>Choose sixteenth</option> <option value='0'>0</option> <option value='0.0625'>1/16</option> <option value='0.125'>1/8</option> <option value='0.1875'>3/16</option> <option value='0.250'>1/4</option> <option value='0.3125'>5/16</option> <option value='0.375'>3/8</option> <option value='0.4375'>7/16</option> <option value='0.500'>1/2</option> <option value='0.5625'>9/16</option> <option value='0.625'>5/8</option> <option value='0.6875'>11/16</option> <option value='0.750'>3/4</option> <option value='0.8125'>13/16</option> <option value='0.875'>7/8</option> <option value='0.9375'>15/16</option> </select> <br /> <br /> <input type="button" onClick="estimate()" value="Estimate" /> </p> <br> <br> All Clear Plain Glass <input type="text" name="cprice" id="cprice" /></td> i haven't even got to the if statement yet, because when i test out the variables (the document.write section) totalheight and totalwidth are being times by 10. IE: i put in 30 and 300 is displayed for those 2. please help, i need a second pair of eyes to help me find my bug. thanks ahead of time, gathos
  18. now I know php is a server side programming language - meaning that all processing is done on teh server then results displayed on the client side. what i want to know is how you would go about making a script (and if possible in php) that would allow me to automaticly email my customers in a database, every six months. i have searched google, and well i think i might be googlitis deficiant. can anyone point me to some good links that might help? or possible something on php.net that could direct me in the right way? thanks later days. gathos
  19. ... yeah top was a experiment - guess i forgot to remove it. i put them in seperate <tr> except now the images aren't in line and the whole thing is blown apart. you can see if you go to the webpage. i guess i'll just start over since there is a bunch i nee to change back from experimenting. thanks.
  20. yeah i know, but it was sudgested on another board and i was desperate, i have tried everything i could think of.
  21. ok so this is what is happening, i load the page, the images and text come in, but the images are aligned to the left instead of centered, also the text is beside my picture instead of below it. now i have set align='center' also tect-align='center' but nothing seems to be working. you can check out my site here: http://typh.ca/templates/picdb.php?dbname=traddb here is the code before php kicks in. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html><!-- InstanceBegin template="/Templates/NEW_CSS_template.dwt" codeOutsideHTMLIsLocked="false" --> <head> <!-- InstanceBeginEditable name="doctitle" --> <title>cabinetglass.com - </title> <style type="text/css"> div img { display:block; margin:auto; } </style> <!-- InstanceEndEditable --> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link href="style.css" rel="stylesheet" type="text/css"> <!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable --> </head> <body> <div id="pagetop"> <img src="images/alt_cabinetglass_01_02.png" width="186" height="46"><a href="../index.php"><img src="images/alt_cabinetglass_01_03.png" border="0"></a><a href="../contact_us.php"><img src="images/alt_cabinetglass_01_04.png" border="0"></a><a href="../testimonials.php"><img src="images/alt_cabinetglass_01_05.png" border="0"></a><a href="../measuring.php"><img src="images/alt_cabinetglass_01_06.png" border="0"></a><a href="../install.php"><img src="images/alt_cabinetglass_01_07.png" border="0"></a><a href="../links.php"><img src="images/alt_cabinetglass_01_08.png" border="0"></a><a href="../faqs.php"><img src="images/alt_cabinetglass_01_09.png" border="0"></a><img src="images/alt_cabinetglass_01_10.png"></div> <div id="header"> <p><img src="images/alt_cabinetglass_02_01.png"><a href="../traditional.php"><img src="images/alt_cabinetglass_02_02.png" border= "0"></a><a href="../art_glass.php"><img src="images/alt_cabinetglass_02_03.png" border="0"></a><a href="../etched_glass.php"><img src="images/alt_cabinetglass_02_04.png" border="0"></a><a href="../photos.php"><img src="images/alt_cabinetglass_02_05.png" border="0"></a><img src="images/alt_cabinetglass_02_06.png"></p> <p><img src="images/alt_cabinetglass_02_07.png"></p> </div> <div id="content"> <div align="center"> <!-- InstanceBeginEditable name="Content" --> <? $dbtable = $_GET['dbname'];?> <DIV align="left> <h2 class="layout"> <p><? if ($dbtable == "traddb"){ echo "Traditional ";} if ($dbtable == "etchdb"){ echo "Etched ";} if ($dbtable == "artdb"){ echo "Art ";} ?> Cabinet Glass Door Inserts </h2> </p> <p> <? mysql_connect("localhost","username","password"); mysql_select_db("dbname"); $result=mysql_query("select * from $dbtable order by id asc"); $count = 1; echo "<div align='top' style='text-align: -moz-center'>"; echo "<table width='400' border='1'>"; while($row = mysql_fetch_assoc($result)) { if ($count == 1) { echo "<tr align='center'>"; } echo " <div align='top' class='center' style='text-align: -moz-center'> <td align='top' style='text-align: -moz-center'> <a href='../estimate.php?name=".$row['name']."&acprice=".$row['acprice']."&bprice=".$row['bprice']."&fcprice=".$row['fcprice ']."'> <img src='../images/". $row["name"].".jpg' height='150px'/> <br /> ".$row['name']." </td> </div>"; if ($count == 3) { echo "</tr>"; $count = 0; } $count++; } echo "</table>"; echo"</div>"; ?> </p> </DIV> <p align="center"></p> <!-- InstanceEndEditable --> </div> <div></div> </div> </div> <div id="colorfade"> <p align="center"> </p> <p align="center" class="style1">Due to the nature of different computer monitors as well as difference in dye lots of colors, </p> <p align="center" class="style1">all color and textured glass samples shown may be subject to slight changes. To learn more about the </p> <p align="center"><span class="style1">Color Accuracy of monitors and the Glass samples shown on this site,</span> <A href="ColorNote.php">please click here</A>. </p> </div> <div id="footer"></div> </body> <!-- InstanceEnd --></html> please help me, i've been going nuts for a week trying to get these stupid images to center, thank you.
  22. thanks underparnv, i was able to fine tune your code to help, i appreciate that. i tell ya, this forum is great. nice people and lots of help. thanks, gathos
  23. ok so when i try to display my database info in a table of 3 columns, it display 1 2 3 5 6 i'm getting it to show the id's of the entries, make debuggin easier. so why does it skip 4? here's my code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Untitled Document</title> </head> <body> <? mysql_connect("localhost","username","password"); mysql_select_db("database"); // these were changed to protect my username password and database $result=mysql_query("select * from traddb order by id asc"); Echo "<table border='1'>"; while($row=mysql_fetch_assoc($result)){ echo "<tr> <td>"; echo $row['id']; $row=mysql_fetch_assoc($result); echo" </td> <td>"; echo $row['id']; $row=mysql_fetch_assoc($result); echo" </td> <td>"; echo $row['id']; $row=mysql_fetch_assoc($result); echo " </td> </tr>"; } echo "</table>"; ?> </body> </html> so any reason why this might happen? thanks. later days, gathos
  24. wow. thanks, i appreciate your guys' help. yeah that was all it was. thank you very much for your help. sometimes a coder just looks a little to hard at his code, and can't see the mistakes. thanks guys. oh a side note, how do i say that this thread was solved? i've been looking but appearently not in the right places.
×
×
  • 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.