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
Ranked #3K
~1K People Reached
Favorite Forums
Favorite Tags
Member Avatar for newprimitive

Hello, I have problem with entering default values in MYSQL database. When i insert new record using phpmyadmin it works fine (empty fields get default value), but when i use the same query in my application (written in PHP), empty fields in html form don't get default value in MYSQL …

Member Avatar for ffghjk
0
239
Member Avatar for newprimitive

Hello, my problem is related to uploading images (i keep info data in database and images in filesystem). I plan to generate image path from image ID, that's why i need to get the ID of the last inserted image. For example: image with ID 123456789 has this path /images/123/456/789 …

Member Avatar for diafol
0
75
Member Avatar for newprimitive

I have problem with a simple login script, keep getting message "Call to a member function on a non-object". The same code worked locally, but when i tried to run it online i got this message. have two php files:login.php and connect.php here is simplified code from connect.php [CODE]class Connect{ …

Member Avatar for mschroeder
0
418
Member Avatar for heshanm

Hi, My transaction table looks like this.It includes following fields. [B]tran_ID,account_type,account_number,transaction_type,amount,Date[/B] The records regarding each transaction is stored in this table. I want to know how i [B]retrieve the data[/B] from this table into another form or table.The coding is what i want... My actual purpose would be to allow …

Member Avatar for heshanm
0
128
Member Avatar for newprimitive

Hello, In OOP PHP, i got 2 classes: Database and News. In News class i call DB function and get result (multidimensional 2D array). Now i have to display that array in index.php. I call News class (lets say get_news() function) from index.php but cant retrieve data and always get …

Member Avatar for Stefano Mtangoo
0
153
Member Avatar for facarroll

Hi. I'm no expert here, and I need some help. This form does not update the database. I know it is accessing the database because the checkbox and radio buttons variables are good, but there is no result posted. Can anyone tell me what is wrong here. [code=php]<?php session_start(); // …

Member Avatar for facarroll
0
136
Member Avatar for newprimitive

Hi, don't know what's wrong, when i try to dispay an array, nothing is displayed. [CODE] // class.php class Connection{ var $arr=array(); function getData($username){ $q="select comment_id from comments where user='$username'"; $result=$this->conn->query($upit); $n=$result->num_rows; for($i=0; $i<n; $i++){ $this->arr[$I]=$result->fetch_array[MYSQLI_ASSOC]; // I've also tried $this->arr[] (with no index) but the same thing } return …

Member Avatar for newprimitive
0
136