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
~2K People Reached
Favorite Forums
Favorite Tags
php x 21
curl x 2
Member Avatar for iveto89

Hello! I'm making cURL request to neteller API and it returns 401 not authorized. My IP is whitelisted in neteller test account. I have the following code: $url = 'https://test.api.neteller.com/v1/oauth2/token; $clientId = NETELLER_CLIENT_ID; $clientSecret = NETELLER_CLIENT_SECRET; $grantType = 'grant_type=client_credentials'; $curl = curl_init($url); curl_setopt($curl, CURLOPT_POST, true); curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($curl, CURLOPT_USERPWD, …

Member Avatar for iveto89
0
1K
Member Avatar for iveto89

Hi everybody, I'm using CodeIgniter framework. I use checkboxes for student_type, lecturer_type and user_type, but it can't insert in my DB table. They must be inserted in 3 different table columns. My form is: <form> <input type='checkbox' name="student_type" value='0'>Student <input type='checkbox' name="user_type" value='1'>Customer <input type='checkbox' name="lecturer_type" value='2'>Lecturer </form> And my …

Member Avatar for iveto89
0
206
Member Avatar for iveto89

I’m trying to make a form, but it can’t be loaded in view. I’m using Bootstrap.My controller code is: <?php class Boot extends CI_Controller { public function __construct() { parent::__construct(); } function index() { $this->load->helper('form'); $this->load->library('form_validation'); // $data['form_css'] = array('class' => 'form-control'); $this->load->view('bootview'); $this->load->view('forma'); } } My view is: <html> …

Member Avatar for iveto89
0
170
Member Avatar for iveto89

Hi everybody! I'm trying to create 2 image buttons (like,dislike). When they are submitted, it should be run a query for like/dislike a definite song. My code is: <?php $table = mysqli_query($mysqli,"SELECT song_id, song_name, janr_name, singers.names FROM `songs` INNER JOIN `singers` ON songs.singer_id = singers.singer_id INNER JOIN `janr_songs` WHERE janr_songs.janr_id …

Member Avatar for iveto89
0
266
Member Avatar for iveto89
Member Avatar for iveto89
0
183
Member Avatar for iveto89

Hello! I'm trying to do a query from SQL in PHP table. My code is: <?php $table = mysqli_query($mysqli,"SELECT song_id, song_name, janr_name, singers.names FROM `songs` INNER JOIN `singers` ON songs.singer_id = singers.singer_id INNER JOIN `janr_songs` WHERE janr_songs.janr_id = songs.janr_id "); $row = mysqli_fetch_array($table); { echo "<table border='1' >"; echo "<tr><th>№</th><th>Song</th><th>Artist</th><th>Song …

Member Avatar for iveto89
0
172