User Profile

Collapse

Profile Sidebar

Collapse
sydd
sydd
Last Activity: Jun 24 '09, 09:42 AM
Joined: Jun 12 '09
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • sydd
    started a topic Dynamic DropDown Menu in PHP
    in PHP

    Dynamic DropDown Menu in PHP

    Hi,

    I was wondering if it's possible to create a dynamic dropdown menu from this code.

    Code:
    if($rs->getNumRows() > 0){
    					$intProjectCount = 1;
    					$htmlOut ="<table width='100%'  border='0' align='center' cellpadding='1' cellspacing='0'>";
    					foreach($rs->fetch() as $prs){
    				        
    				        $htmlOut .="<tr><td class=\"projectkiri\"
    ...
    See more | Go to post

  • sydd
    replied to CMS Errors + Query Failed
    GNAH!

    I wish for once these things do what I want them to do.

    Okay I've fixed what I wanted to fix, but some old problem I never thought of in my previous posts suddenly reappeared:


    When - in the CMS - I click on New (Add New Data), basically creating a new project (not the columns, they're part of the project) everything is fine until I try click on "Edit Data". Then the _content_ of...
    See more | Go to post

    Leave a comment:


  • sydd
    replied to CMS Errors + Query Failed
    Okay I think I fixed it.

    Edited the config.php (had the wrong username/password/database for phpMyAdmin) and now I'm able to log into the MySQL databases. You were right, pr_download wasn't in the table where it was supposed to be, now that I've edited it works fine.

    Thanks for the help anyway!
    See more | Go to post

    Leave a comment:


  • sydd
    replied to CMS Errors + Query Failed
    Sorry for the late reply.

    I'm guessing you mean this?

    Code:
    	function processUpdate($postData){
    			global $dbo,$module;
    			$cm = new AGDBCommand();
    			//updating services
    			$memberID = $_POST['pr_ID'];
    			$selectedServiceArr = preg_split("/,/",$_POST['serviceSelected']);
    			$provarr = preg_split('//', $_POST['serviceSelected'], -1, PREG_SPLIT_NO_EMPTY);
    			$hurufpertama=$provarr[0];
    ...
    See more | Go to post

    Leave a comment:


  • sydd
    started a topic CMS Errors + Query Failed

    CMS Errors + Query Failed

    Hi,

    first of all, ******, I just wrote this text, got redirected in order to log in (I was already logged in, and all the text was gone. |: bah.)

    Anway, I digress...

    First problem: When I try editing our CMS (content management system I think), basically adding a new column at one of our projects, after I rewrote the php file in order to actually give me a new column, it doesn't "stick". I can...
    See more | Go to post
No activity results to display
Show More
Working...