Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. bigbird3156

    CSS Link behavious and name tags

    Hi, I have created a standard html page using CSS... In the page I have put some href links that reference points further down in the page using name tags <a name="tag1"> I have then created some CSS behaviours for the links to hide the underline, change link colors etc... The problem I am...
  2. bigbird3156

    problems with 32 bit browser in 64 bit machine

    Hi everyone.... not sure if this is the correct forum as i'm not sure what te problem actually is but i thought i would at least start here... I have a friend who i'm trying to help out with his new pc it is a 64 bit machine running windows 7 - the 64 bit EI seems to be working ok - but of...
  3. bigbird3156

    Simple field update???

    OK... so I need to change the following line of code... while ($row_Recordset1 = mysql_fetch_assoc($Recordset1)){ $row_Recordset1['prod_cat'] = empty($_GET['var2']) ? $row_Recordset1['prod_cat'] : $_GET['var2']; to something with an UPDATE command in it... however I am struggling to...
  4. bigbird3156

    Simple field update???

    My apologies... the loop does work however it misses 1 record... I was using a category that had only 2 records and only 1 was coming up - but I tried again with a cat that had 36 records and 35 came up... The Bird from Down Under- Bigbird 3156 [upsidedown]
  5. bigbird3156

    Simple field update???

    Ok, thanks for that... I have another look into it and see if i can work it out before I ask for the inevitable help... having said that however I did choose a category that had multiple records associated with it ... yet only got the one record actually showing up The Bird from Down Under-...
  6. bigbird3156

    Simple field update???

    Thanks for that Jpadie... I tried your code and it did not work... firstly it did not loop, only showing the first record and secondly it did not actually update the record it showed either... I assume that the {$row_Recordset1['prod_cat']} Updated! inside the frame should display the...
  7. bigbird3156

    Simple field update???

    I can't get this to work... maybe it is the setup of the rest of the page... can you have a quick look... <body> <p>Changing category <?php echo $_GET['val1']?> to <?php echo $_GET['val2']?></p> <p>Updated Records</p> <?php do { ?> <table width="650" border="0" align="center"> <tr>...
  8. bigbird3156

    Simple field update???

    Hi... If I pass a variable from another page and want it to replace the contents of a field from the database is there a simple way to do it???... what would it look like?? i.e I want the contents of the variable "var2" to replace the contents of "$row_Recordset1['prod_cat']"...
  9. bigbird3156

    adding text field value to a url

    And here is the culprit.... <input name="val1 " type="text" id="val1" value="test" /> so don't worry I have solved it myself!! The Bird from Down Under- Bigbird 3156 [upsidedown]
  10. bigbird3156

    adding text field value to a url

    There are 2 reasons I was going post instead of get... first is I assumed through what I have done that get only allows you to sent 1 variable and although I have not said as much above I want to send 2 variables.... the second reason is that I need to use URLencode or another similar...
  11. bigbird3156

    another problem with ampersand

    Thanks heaps! that did the trick! The Bird from Down Under- Bigbird 3156 [upsidedown]
  12. bigbird3156

    another problem with ampersand

    I have created an edit record page that has two dropdown menus in it that are populated by another recordset in the database... when they are populated they display the stored value of the record as the default unless that value has a special character(case in point a designer by the name of...
  13. bigbird3156

    adding text field value to a url

    Hi, if I have a text field on a page and I want to add the content of that field into a url once it has been submitted how do I call it? for the sake of this example, I have a text field called "Tfield" and I want the URL after submitting the form to look like...
  14. bigbird3156

    passing an ampersand

    thanks feherke... OK point taken I changed the link back to &amp; and it DID work... I do not know why it was not working before I changed it back to the & as the only thing that I changed was this link and then BOOM it worked... now I change it back and it still works... anyway thanks for...
  15. bigbird3156

    passing an ampersand

    This particular link is in a page that gives a bio of the particular designer... the link accesses another record set in my database that contains a catalogue of all products... by selecting the link the user is selecting to see only products created by that particular designer... all pages are...
  16. bigbird3156

    passing an ampersand

    yes sorry... thats the one The Bird from Down Under- Bigbird 3156 [upsidedown]
  17. bigbird3156

    passing an ampersand

    ah yes, sorry ... I had another look at what I was doing and it all makes sense now... it was changing the ambersand in the href above that was causing me problems and made me think that I needed to use a urldecode... once I changed the &amp; back to & it all worked fine... what you said about...
  18. bigbird3156

    passing an ampersand

    ...and then there is the question of urldecode... Again I am trying to get my head around it, but I just can't figure it out... I assume that the function needs to affect the following code?? - am I getting warm or am I way off... can you give me any hints??? $colname_view_des_cat = "-1"...
  19. bigbird3156

    passing an ampersand

    Thanks for the hint... I have been looking around a bit and cant for the life of me figure out how to use the urlencode function on a href like this... <a href="catalogue.php?page=des_cat&designer="<?php echo $row_view_catalogue['designer']; ?>"> can anyone give me an idea? (obviously it...
  20. bigbird3156

    passing an ampersand

    Hi... if I am passing a string variable from one page to another that contains an ampersand I get all sorts of problems... I know there are special characters like &#38; and &amp; but if these values are saved in an SQL file then it still passes the ambersand and not the special charcter...

Part and Inventory Search

Back
Top