Jump to content

28rain

Members
  • Posts

    57
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

28rain's Achievements

Member

Member (2/5)

0

Reputation

  1. No ascio dont seem to own my domain though!!! I cant login to there website (mainly because there is nowhere to login) and its in denmark, and when i email them it gets sent back saying 'cant be sent because might be spam! Any other ideas people pleeeaassee!!?? Thanks
  2. So my website is www.thepunchbowl.co.uk I have just inherited this site, and given the task of making it better. So I made the site, and now need to change web hosts so I can use my PHP. Could somebody please tell me who owns my domain so I can change the DNS. Whois is being useless, see for your self, it wont point me to the correct owner. If anybody does find me the owner, could they point me to the place where i have to login, I have username & password I think Is there any other way af changing the DNS without using the owner??? Thanks Will
  3. How?? Ive been looking around (briefly I admit) but it didnt seem possible?
  4. I accidently set the vale of my price column to be a tinytext, but i want sql to be able to order the values by price when I display them. How can I order by int value? Thanks
  5. LOL soo basic, but thanks for the help, I never would have got there without you! Thanks
  6. I have a list of names in a javascript file, and I want the names to be inputted by PHP... This is the javascript: function StateSuggestions() { this.states = [ "Alabama", "Alaska", "Arizona", "Arkansas", "California", "Colorado", "Connecticut", "Delaware", "Florida", "Georgia", "Hawaii", "Idaho", "Illinois", "Indiana", "Iowa", "Kansas", "Kentucky", "Louisiana", "Maine", "Maryland", "Massachusetts", "Michigan", "Minnesota", "Mississippi", "Missouri", "Montana", "Nebraska", "Nevada", "New Hampshire", "New Mexico", "New York", "North Carolina", "North Dakota", "Ohio", "Oklahoma", "Oregon", "Pennsylvania", "Rhode Island", "South Carolina", "South Dakota", "Tennessee", "Texas", "Utah", "Vermont", "Virginia", "Washington", "West Virginia", "Wisconsin", "Wyoming" ]; } And I want to make a list of names similar using: while ($row = mysql_fetch_array($result)) { $name=stripslashes($row['name']); $display_block.="\"$name\", "; } Excetra excetra and i want $display_block to be echo'd into that javascript file... Any help please (Oh and i have never used javascript before!) Thanks
  7. For example I have a table (page_count) with fields;Page_name, date, value. And I want to extract the value from a specific Page_name and Date Ok no sense... This is what i think it might look like: $sql = "SELECT value FROM page_count WHERE date='$date' && page_name='$pagename'"; The && bit, is that possible? THanks
  8. So where's the id going to be added to? Is it adding to the session? And what about all the ? e.g cart.php?action
  9. Basically im newish to php and im having a go at making a cart, and i have already made the infastructure of the other tables. The cart tutorials are really unclear to me so does anybody know a decent tuorial or explanation to this line of code... <a href="cart.php?action=add_item&id=<?php echo $row["itemId"]; ?>&qty=1">Add Item</a> Thanks ???
  10. oh ok yeah i though it was characters not being displayed right i just dont know where they are coming from.... i think maybe from another column in the table that would explain... oh well i'll work round it!
  11. its returning 15��������� when i query this while($row = mysql_fetch_array( $result )) { // My edited version, Using sel_byid $id = stripslashes($row['id']); and then echo $id Thanks
  12. OMG such an idiot i took those off whilst i was testing! Musta fixed the error some other way and not put the wildcads back on. Sorry and Thanks
  13. There is definetly data in the table with the word jack in it. // Connect to MySQL mysql_connect("******", "*****", "*****") or die(mysql_error()); mysql_select_db("shop") or die(mysql_error()); $metod=$_POST['search']; // Insert a row of information into the table "example" $result = mysql_query ("(SELECT * FROM f_watch WHERE notes LIKE 'jack') UNION (SELECT * FROM m_watch WHERE notes LIKE 'solo') UNION (SELECT * FROM cufflinks WHERE notes LIKE 'jack')") or die(mysql_error()); // keeps getting the next row until there are no more to get while($row = mysql_fetch_array( $result )) { When it searches for like '%' all the results are returned Thanks
  14. Thankyou very much sasa worked awesome! Is there a site with all the symbol functions? Thanks!
  15. Erm well im adding it all to a variable... Heres the script; $display_block .= "<table width=800 columns=4 cellspacing=5 cellpadding=3 border=\"5\" bordercolor=\"orange\"> <tr> <td rowspan=\"2\"><img src=\"images/$picture\" width=\"10\" height=\"10\" align = \"center\"></td> <td Valign=\"top\" halign=\"left\"><a href = \"$id.html\"><strong> <font color=black size=5> $title</font> </strong></a></td><td valign=bottom> Gender: $sex </td> <td width=110 align= \"center\">$price</td> </tr> <tr> <td halign = \"left\">$brand</td> <td halign = \"center\">$notes</td> <td halign = \"right\" valign=\"bottom\"><font size=2> Ref number = $id</font></td> </tr> </table> <br> <br> ";
×
×
  • 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.