f0ska

f0ska does not currently provide support for this item.

2700 comments found.

Ploto

Ploto Purchased

Hello in what way i can force the overwrite file in case of upload function. In other word when exist the file the upload function DOESEN’T overwire but create another file with different name. I NEED OVERWRITE THE FILE with the same name. Thanks in advance for your advise Bye Paolo

Ploto

Ploto Purchased

This comment is currently being reviewed.

IonCoder

IonCoder Purchased

hello ,

nice script , but how i can show a remote image thumb on my datatable ?

thanks

Ploto

Ploto Purchased

I have two table connect with Referential integrity, when i try to delete one record i obtain CORRECTLY msql error message, in what way i can catch its and display my own message ?

Ploto

Ploto Purchased

@IOnCoder, try with £Remote images” $xcrud->change_type(‘avatar’, ‘remote_image’, ’’, ‘http://my-img-host.net/my-folder/'); see the manual

JinRoh

JinRoh Purchased

@Ploto : You need to check value before delete with a callback : before_remove

I can make a system where income and expense accounts are kept in stocks with XCrud. is it possible?

perea1

perea1 Purchased

Hi, i want to run a function after saving. How can i get the id of saved row?

Ploto

Ploto Purchased

@JinRoh thanks, i follow that path.

Ploto

Ploto Purchased

@pere1: use after_insert function / see manual

JinRoh

JinRoh Purchased

@akunamatata : Need more informations ;)

tito24

tito24 Purchased

it is a very interesting project and there is great interest in further development and support. Thanks to JinRoh, who took over this task ;-)

There is a lot of interest and questions about this project. Maybe f0ska can think about opening up the project source code for a community. About donations or money can we think about….

JinRoh

JinRoh Purchased

@tito24 : Thanks :grin:
Your idea is very good but we have no news from f0ska since the last update :cry:

JinRoh

JinRoh Purchased

It’s a very good script …. It’s bad to see that there is no more update ….

f0ska come back

tito24

tito24 Purchased

Hi JinRoh, do you know these scripts? “PDO Crud” It works in the same direction and have a very actively supported. Unfortunately I would have to rewrite my existing projects with it. Greetings Tito24

Hi, When I want to save this text ”.... or 2 …” in varchar or text db file, then don’t save in db. XCRUD version(v.1.6.25)

JinRoh

JinRoh Purchased

@tito24 :
I had seen this script. It seems to be perfect to replace XCRUD. For now, I do not have a big bug in XCRUD so I remain faithful to this one. We’ll see later.

JinRoh

JinRoh Purchased

@zzsolt_87 :
Sorry, but I don’t understand.
You want to use a text file as DB ?
If yes, XCRUD only works with mysql.

@JinRoh is possible to create a simple “purchase orders” management system with this? knowing very little php…

JinRoh

JinRoh Purchased

@TeraBoy : Of course yes. But, it will be necessary to make some adaptations such as the management of printing of purchase orders. As suggested Tito24, it may be better to choose on a solution that has good support and follow-up as PDO CRUD.

@JinRoh sorry i wrote wrong the comment. I used MYSQL DB. I get a bug. If I wrote this text ”....or 2…” in texteditor or input, then didn’ t save the data in db.

JinRoh

JinRoh Purchased

@zzsolt_87
    include('ext/xcrud/xcrud.php');

    $xcrud1 = Xcrud::get_instance();
    $xcrud1->table('base_fields1');
    echo $xcrud1->render();
CREATE TABLE `base_fields1` (
  `id` int(11) NOT NULL,
  `text` varchar(50) NOT NULL,
  `text_area` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

http://zupimages.net/viewer.php?id=17/41/dt8m.png
http://zupimages.net/viewer.php?id=17/41/d0x2.png

I had no problems

File “subselect_and_sum.php” is missing. So demo “Subselect and sum row” is not working.

JinRoh

JinRoh Purchased

@delcroixenator
I found the file “subselect_and_sum.php” in XCRUD sources (demos\pages) !
<?php
    $xcrud = Xcrud::get_instance();
    $xcrud->table('customers');
    $xcrud->columns('customerName,city,creditLimit,Paid,Profit'); // specify only some columns
    $xcrud->subselect('Paid','SELECT SUM(amount) FROM payments WHERE customerNumber = {customerNumber}'); // other table
    $xcrud->subselect('Profit','{Paid}-{creditLimit}'); // current table
    $xcrud->sum('creditLimit,Paid,Profit'); // sum row(), receives data from full table (ignores pagination)
    $xcrud->change_type('Profit','price','0',array('prefix'=>'$')); // number format
    echo $xcrud->render();
?>
by
by
by
by
by
by