Jump to content

bmopro

Members
  • Posts

    13
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

bmopro's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I just recently added wimpy player to my site. It includes a script (playlist_app.php) that will dynamically create a playlist and output it in xml, so the player can read it. My question is this... How can i pass a varablie to that page (playlist_app.php) so it can hit the DB and create the playlist without using the include function? I want to call the index page, hit the (playlist_app.php) page with a variable to create the playlist, and have the index page diplay. I can't obviously use include because the (playlist_app.php) prints out xml. Thanks for the help! Brian
  2. I'm feelin' kinda dumb!! I have an inline frame where the content changes depending on user input. On the final request i would like it to redirect to a new page. The way im trying to do this is when the final request happens, include a file that has a java redirect, but i can't figure out how to make in load in the _top window. Thanks for any help! brian
  3. taith Thanks so much for the function!!!!!!! This save much time! brian
  4. Like this?... if($_SESSION['edit'] == 'address'){ header("Location: http://www.example.com/user_edit.php#address"); } brian
  5. taith thank for the reply! How would i do it with a header? Is there a way to send a session variable, so when the page is included in the header of that page it would jump to a point in that page depending on that session variable. Hope that makes sense! Thanks Brian
  6. Here is what i am trying to do... [code] <?php if(isset($_POST0['edit_address'])){ include 'user_info.php#address'; exit(): } ?> [/code] I want to use drop down menus to keep it clean, and so when people go to edit their account, there isn't a ton of links. When i hit the edit input button i get the error that the page does not exist. How can i use anchor tags in this way? Thanks for the Help! Brian
  7. That's It!!!! Thank You so Much!!!! Bri
  8. Hello, I have a loop set up to store data in an array...My question is this... How would i take the data stored in an array and put it in one variable as follows... $array[0] = 'data_0'; $array[1] = 'data_1'; $array[2] = 'data_2'; Turn this array into a varaible like this... $data = 'data_0, data_1, data_2'; Thanks for the help!! Bri
  9. I got it, but thats what i already do. For each row of data i have the for loop eco out a table with three cells. The first is a check box, with the value of true.  THe second is a text box like you have below. the third is a drop down menu so i can edit that field. Now when i retrieve the data, in the testing im doing, i only have 1 row of data. When i hit my submit button, it queries the db and echos out that row of data in the format above. I want it to be able to update that row of data if i check the check box, and not to if the check box is unchecked.  I've been testing this out, and so far when i hit the submit button to update, all i have it doing is echo out the name text box which it dosn't do.  I don't have a problem doing it one entery at a time, which ive been doing, but if there are multiple rows of data echoed out by a for loop, will it still work the same as if i were doing it one at a time. (Obviously i have to set up another loop to update only the checked boxes, and assign unique names th all of the text boxes ect which will be the id # of the entery. example: name_101) Thanks for the help, and i hope this makes scence. Brian
  10. Basically yes that is the way to retreve the info from the db, but how do you update that ifno after you have echoed it out to the browser.
  11. Hello, I may be over simplifying this, but i want to try and keep this as simple as possible... I am trying to write my own script to edit multiple records in a table without having to use phpmyadmin as a front end.  THe reason...So i can view just one field and edit another with a drop down menu and not have to view all of the fields in the table. The way i have it set up now is, i query the DB and use a for loop to echo out a table with the name field and a drop down men to edit another field for each entry.  To test  this code i kept it simple and just put 1 entery in the db.  So, when i query the db it only shows 1 entery. When i try and just have it echo out the name field when it hit submit, i get nothing?  When you use a for loop to echo out multple records does the html form see it differently?  Is there a third party code i can use to do this? Sorry in advance if this is to vague, but if someone could point me in the right direction to help understand this concept, i am grateful. Brian
  12. [!--quoteo(post=351082:date=Mar 2 2006, 03:12 PM:name=obsidian)--][div class=\'quotetop\']QUOTE(obsidian @ Mar 2 2006, 03:12 PM) [snapback]351082[/snapback][/div][div class=\'quotemain\'][!--quotec--] check out the PDF generation class at [a href=\"http://www.fpdf.org\" target=\"_blank\"]FPDF[/a]. it's great for generating your own dynamic PDFs, and it's saved me on numerous occasions. [/quote] obsidian thnk you for the tip!!!!! BRIAN
  13. Here is what i am trying to do... I would like users to be able to print out a flyer witht there info on it, but if they print from the print function in thier browser it displays the page title and page number at the top and the site address and date at the bottom. To avoid this is there a way to create a dynamic pdf file that will display thier info they can print out. If any one can point me in the right direction i would greatly appreciate it!! Thanks Brian
×
×
  • 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.