我在我的网站上集成了PayPal智能支付按钮。我的网站是建立在PHP的codeigniter框架。我想知道交易成功后能不能拿到orderid。
<head>
<!-- Add meta tags for mobile and IE -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edg
我有非常好定义的机器学习训练集(只有字符串属性)。
例如:
@relation training_rel
@attribute class {politics,sports}
@attribute text string
@data
politics,'some text about politics over here'
... // a lot of other training instances of class politics
sports,'and now some sports over here'
... // a lot of other
我正在编写的脚本将要求我传递一些命令行参数。我想在数组中使用这些参数,但我不确定如何使用。
这方面的一个非常基本的例子是(以./script.sh array1形式运行的脚本):
#!/bin/bash
array1=( a b c d )
echo ${#$1[@]}
输出应该是4,但我收到以下错误:line 5: ${#$1[@]}: bad substitution。
我不需要使用数组,但是我想使用数组。
谢谢你的建议