Jump to content

beebosoft

New Members
  • Posts

    9
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

beebosoft's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. The url is showing me that the username and password are/index.php?message=beebosoft%20nut5tretch these are exactly the same as in the database, I have checked the name of the database and the name of the table too.
  2. I have tried that and is displaying exactly what is in the database
  3. I tried both like and = it is saying there is not an entry when there is.
  4. I am trying to check to see if someone has registered and log them in to a site. I am using the following syntax. $resultID = mysql_query("SELECT * FROM user where username = '$username' AND password like '$password'", $linkID)or die(mysql_error()); If I omit the AND password like '$password' it brings me down records but when I add this bit in it fails everytime. I have used this before with no problems.. Any help greatly appreciated. Angie
  5. I am working on a dynamic menu to fit into an already heaviliy populated website which can't be converted to php at present. I am using an iframe to bring in the menus which is working well and am able to remember the current users choice of category if they click on any of the menu items shown. what I now want to do is not show all the results at once and limit returned results to around 15 with previous and next buttons. I have done this before on purely php pages using the ?id=$limit info on the text link but because it is in the iframe and not the html page this is not working. I would appreciate any suggestions as to how I can use the limit thing for next and previous within the iframe so that this works properly. I have tried to use session variables but think i may be putting in the wrong places. Each time a new category is chosen the session variables need to be reset for the results of the new choice I have tried doing this in the form but am not sure if in the correct paces. print '<form action="showmenu.php" method="post" >'; print "<select name='page' size='1' onChange='this.form.submit()' >"; print "<option value='venuename' selected>Choose Category</option>"; while ($row1 = mysql_fetch_assoc($resultID)) { $name = $row1['CategoryName']; $value = $row1['value']; print "<option value='$value'>$name</option>"; } $_SESSION['limit'] = 10; $_SESSION['nextlimit'] = 0; $_SESSION['total'] = 0; $_SESSION['previouslimit'] = -10; print" </select>"; print "</form>"; Thanks in anticipation Angie
  6. I set all my email addresses before i write the email and then just put the variables into where they want to be $radd = "myemail"; mail( $radd, $subject, $mail, "From: $email" ); Not sure if that will help you. Angie
  7. i would use "<?php echo($mes) ?>" in the textbox as the value. That is if i understand what you are trying to do.
  8. I tested the fputcsv. It split each part up on the line. What i want is to ignore the commas in that field so the address is all in one field. should i try writing to a different type of file or should i try not letting commas be put into the address field? Angie
  9. I have a database which holds records one fields of which holds the address of a client. I need to on a regular basis download this from the site as presferable a csv file. My problem is that some of the addresses have been entered with commas between the elements. when i down load the csv file it is not all set out neatly because of the extra commas. Does anyone have an idea of how i can get round this? Thanks in anticipation Angie
×
×
  • 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.