Search found 8 matches

by ohad
Fri Aug 21, 2020 11:00 pm
Forum: JavaScript
Topic: Javascript error
Replies: 0
Views: 445

Javascript error

Hi all, I try to populate html table by query and ajax. The idea is that i have a textbox in which the user enter a code, the system get its description upon focusout event from the database. (This section works well) After that, upon double click on the description that was retrived, the js should ...
by ohad
Mon Jun 15, 2020 12:47 pm
Forum: PHP coding => General
Topic: Question regarding fetch_assoc
Replies: 2
Views: 622

Re: Question regarding fetch_assoc

SOLVED
by ohad
Mon Jun 15, 2020 12:05 pm
Forum: PHP coding => General
Topic: Question regarding fetch_assoc
Replies: 2
Views: 622

Question regarding fetch_assoc

I have a query that return data into the array $row with values, but $id from the first line of the while stay null. Why? $con = oci_connect("xxx", "xxx", "xxx"); $query = "SELECT id, name from table_web WHERE record_module='AA' and parent_id='".$parentId."'"; $stid=oci_parse($con, $query); oci_exec...
by ohad
Tue Jun 09, 2020 9:12 am
Forum: PHP coding => General
Topic: Return value from ajax using json
Replies: 0
Views: 500

Return value from ajax using json

Hi all I try to fill a readonly textbox on my page with a description of a product the user put in an product_id inputbox. for that I use a jquery and ajax as a json form but the result i get when i debug it is that the data.productname is undefined. I have no idea what is wrong with my code. Can an...
by ohad
Sat Jun 06, 2020 8:05 am
Forum: Other Database Engines
Topic: Return value from Oracle function
Replies: 1
Views: 548

Re: Return value from Oracle function

Ok I solved it.
The problem was I didnt put length to the return value
It shold have been like that:

Code: Select all

oci_bind_by_name($stid, ':compid_desc_bv', $compid_desc,30);
by ohad
Fri Jun 05, 2020 11:38 pm
Forum: Other Database Engines
Topic: Return value from Oracle function
Replies: 1
Views: 548

Return value from Oracle function

Hi I try to get data from a fuction in my Oracle DB I use this syntax but the reply is null value I know the function works cause i use it in other developing tool I know the connection i declared is working, cause i get values when i do dirext select from the PHP Cam you see what is the problem? in...
by ohad
Fri May 22, 2020 12:49 pm
Forum: PHP coding => General
Topic: Question regarding frames
Replies: 3
Views: 640

Re: Question regarding frames

Thanks for the reply The application is not meant to be for mobiles. its for pc's. I have 2 questions as a result 1. How do i set the css that it makes the body area start on the left side of the sidebar? I want the sidebar with about 5 cm and the rest for the body part. I added <div class xx> to ev...
by ohad
Fri May 22, 2020 9:15 am
Forum: PHP coding => General
Topic: Question regarding frames
Replies: 3
Views: 640

Question regarding frames

Hello to all I am new to php I want to create an application that the main window is based on 3 elements: ot the top a place for the company logo, on the left a dynamic menue that will be a result od the user grants, and on the right of this menue, the scrrens will be according to the option that wa...