Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~1K People Reached
Favorite Tags
Member Avatar for mlhazan

Hi, before posting this thread I tried to find solution inside daniweb but was not successful. I found one but it was so specific for one's own homework problem. I always get lost when I do recursion. I read books but most of them start with Fibonacci or Hannoi problem …

Member Avatar for mlhazan
0
248
Member Avatar for mlhazan

Hello Experts, I am getting unwanted result.Please help! Here is the function: [CODE] function ArrayResults($result){ while ($row = mysql_fetch_assoc($result)){ //echo $row["first_name"]; //tested :works!! $this->arr2[] = $row; } return $this->arr2; }[/CODE] I called the function and used the print_r to see how is the array: [CODE] $mysql->ArrayResults($mysql->ExecuteSQL("SELECT * FROM Employee")); print_r($mysql …

Member Avatar for mlhazan
0
90
Member Avatar for mlhazan

Dear users, I am new to PHP5. My LAMP is working just fine.I made small database connect scripts and they just worked as it should.Then I tried the following code and run the mysql.php but showing me following error: [CODE]Could not run query: Access denied for user 'www-data'@'localhost' (using password: …

Member Avatar for emclondon
0
163
Member Avatar for mlhazan

I am currently working on a blog page and I need to highlight codes.It will grow as time passes so I am thinking in a broad sense.Geshi looks nice codes are readable but draw back is server side.If a page has 3/4 file it may make it delay on the …

Member Avatar for pritaeas
0
122
Member Avatar for mlhazan

I spent almost whole evening to understand the following code: [CODE] <?php $link = mysql_connect('localhost', 'root', 'root'); if (!$link) { die('Could not connect: ' . mysql_error()); } $db_selected = mysql_select_db('database_1.1'); if (!$db_selected) { die('Could not select database: ' . mysql_error()); } $query = 'SELECT last_name, first_name FROM Employee'; $result = …

Member Avatar for scaiferw
0
131
Member Avatar for mlhazan

I am working on a pagination.From the index page it goes with a variable .For an example: [CODE]viewproduct_by_category.php?categoryid=1[/CODE] the value 1 comes from database.So the error is ,first time the page shows up all the images that has the categoryid =1 but second time when ever I press next page …

Member Avatar for mlhazan
0
322