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 biv343 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: *

  • Users: ralphiooo
  • Content: Threads
  • Order by date
  1. ralphiooo

    Problems with role provider

    Hi, i've downloaded a membership and roles provider but i am very new to ado.net. I have come from asp background. Here's my code: public override void AddUsersToRoles(string[] usernames, string[] rolenames) { // Validate arguments foreach (string rolename in rolenames) if...
  2. ralphiooo

    Questions About Custom Membership Provider

    Hi, i'm trying to implement my own custom membership provider. The problem i have is that my table i am storing my membership information has some additional fields such as the members address. I found a tutorial on the internet which has the following public override MembershipUser...
  3. ralphiooo

    Selecting Value from Dynamic DropDownList

    Hi i have a FormView control with a DropDownList in like so: <asp:DropDownList ID="lstCategoryID" DataTextField="Text" DataValueField="Value" runat="server"> </asp:DropDownList> And in the Page_Load event handler i have the following: Dim lstCategoryID As DropDownList =...
  4. ralphiooo

    Unix Timestamp - Previous Saturday 12:00

    Hi, is it possible to return the unix timestamp for the previous saturday at 12:00. I tried looking mktime but didn't know where to start. Appreciate if someone could help. Thanks
  5. ralphiooo

    IE6 Renderring Issue

    Hi, i have a renderring issue on my website: http://www.fantasy-league-manager.com/privacy-statement-7.htm in ie6. If you scroll to the bottom (keep scrolling up and down at the bottom to see the change) you will see that the bottom doesn't look right. In the past i've found that putting...
  6. ralphiooo

    Help With Transactions

    Hi, i've been reading up on transactions and how to use them. From what i see i simply put BEGIN at the start and then COMMIT at the end. The reason i'm using transactions is because i don't want updates to take effect until every update has been made. Therefore i'm wondering whether the...
  7. ralphiooo

    SQL Problem With Joins

    Hi, i posted the other day about a problem i encountered when making a new site, trouble is i have another one. First here's my table structure: players - player_id (primary key) - player_name player_points - player_id - points - date_created teams - team_id (primary key) - team_name...
  8. ralphiooo

    Problems with SQL Query

    Hi, i have the following table structure: players: - player_id (primary key) - player_name player_points: - player_id - points - date_created (date record added) The players to player_points tables have a 1 to many relationship. Therefore there can be multiple records in the player_points...
  9. ralphiooo

    Failed to enable constraints. One or more rows contain values violatin

    Hi, why do i keep getting the following: Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints. come up when trying to use the table adapter. I found an article at...
  10. ralphiooo

    Rewrite Problem with &quot;No input file specified&quot; Error

    Hi, i'm gettin the annoyin "No input file specified" error on my custom 404 error pages. I found a solution using my htaccess file. The only trouble is my htaccess file already has a set of rewrite rules in them. Here's what I changed it to: #ErrorDocument 404 /error/index.php Options...
  11. ralphiooo

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTI

    Hi, i'm getting the following error on one of the pages on my site: Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/includes/sessions.class.php on line 9 the start of the sessions.class.php is: <?php class session_handler {...
  12. ralphiooo

    Regular Expressions Help

    Hi, i have a band directory on my site and i want to be able to put /bandname/ in the url and it will work instead of going /bands/bandname/. I have created a rewrite with the following: RewriteRule ^(^forum|gallery|images|labels|news)/?$ /bands/$1/index.php [NC,QSA] What i'm trying to say is...
  13. ralphiooo

    Highlight newest added items

    Hi, i store the date i insert items into the database using unix timestamps. For my logged in users i need to highlight newest added items since there last visit. I was wondering what's the logic behind this and the easiest way of implementing this. I had a shot but my brain couldn't handle...
  14. ralphiooo

    Path to file

    Hi, i'm following this tutorial: http://www.mikeindustries.com/blog/archive/2005/07/make-your-site-mobile-friendly to make my site mobile friendly. I don't have the time to do it manually so this method seems pretty good. The trouble i'm having is the bit where it says to place: php_value...
  15. ralphiooo

    Dynamic XML File Problem

    Hi, i'm trying to create a google site map, i added AddType application/x-httpd-php .xml to my htaccess file and then put the following at the top of the siteindex.xml file: <?xml version="1.0" encoding="UTF-8"?> but it returns a parse error. I think it's the <? at the start but can't find a...
  16. ralphiooo

    Full Text Search Across Multiple Tables

    Hi, I've been looking for a solution to searching across multiple tables using a full text search to do a site wide search. ie say I have the following tables: news_posts - id - title - content gallery_images - id - title - image_url I want to be able to search the title field for both...
  17. ralphiooo

    Submit form without a function and not onload in body

    Hi, I was wondering how to submit a form called frmPost in the body part of the code and not in a function so it auto submits when you go to the page. I know it sounds a pretty stupid scenario but I really need to do it this way. Appreciate the help. Thanks
  18. ralphiooo

    Logic Problem

    Hi, I have a problem trying to sort out the side navigation to a script i'm making. It's still in the planning phase at the moment so I've put together the following examples to make this easier to explain. Say I have the following table: Categories: - id (primary key) - depth (the depth...
  19. ralphiooo

    Return spaces at start of string

    Hi, How do I strip the text part of a string leaving me just the spaces before the text ie say I have $string = "_____text" it would return "_____" $string 2 = "__________text" would return "__________" where _ = a space so you can see Appreciate the help. Thanks
  20. ralphiooo

    Category Navigation Problem

    Hi, I have setup the following array called list_categories which is in the format $list_categories[sub_category_id][category_id], ie say it has the following content: Array ( [0] => Array ( [0] => Array ( [category_id] => 27...

Part and Inventory Search

Back
Top