172 Posted Topics

Member Avatar for Bijay_1

try this in your function. echo '<pre>'; print_r($this->input->get(ALL)); or print_r($this->input->post(ALL)); die();

Member Avatar for cereal
0
214
Member Avatar for FarrisFahad

I have never had problems with my frameworks with TinyMCE. In this case I was using Codeigniter ![84ead468266664e43febab31ad2225b0](/attachments/large/2/84ead468266664e43febab31ad2225b0.png "84ead468266664e43febab31ad2225b0") Add to your javascript this `mode : "textareas"` Than the saving to the DB public function creaza_anunt() { $new_anunt_insert = array( "poster" => $this->session->userdata('poster'), "title" => ucfirst($this->input->post('title')), "keywords" => $this->input->post('keywords'), "content" …

Member Avatar for FarrisFahad
0
1K
Member Avatar for Olagsfark
Member Avatar for Peter_5

Please post your EXPLAIN query like this. EXPLAIN SELECT * FROM games where games.league='".$receivedleague."' AND games.gamedate >='".$todaydate."' AND '".$elnowla."' <= games.eldatetime AND (Not EXISTS(SELECT gameplayed.gameid,gameplayed.userid FROM gameplayed WHERE games.id=gameplayed.gameid AND gameplayed.userid='".$Userid."')) order by games.eldatetime asc limit 0,2

Member Avatar for Peter_5
0
230
Member Avatar for Szabi Zsoldos

Hi guys, I've created a simple plugin for Wordpress that interacts with an API in the backend. The problem is that everything is inserted twice in the database, and I cannot figure out why. The form is submiting only once, not twice. What could it be ? Redirects from my …

Member Avatar for Szabi Zsoldos
0
861
Member Avatar for vision2030

Sorry but we cannot help you untill you dont tell us your problem. By the way this looks like a copy/paste source code from a page.

Member Avatar for Szabi Zsoldos
0
252
Member Avatar for Manchala

You dont need the `foreach` just use $cat_data->id $cat_data->name $cat_data->image $cat_data->p_cat

Member Avatar for Szabi Zsoldos
0
252
Member Avatar for BadManSam

Please post this line from the specified file. (T_IF), expecting function (T_FUNCTION) in /home/promanx2/public_html/include/session.php on line 455

Member Avatar for BadManSam
0
213
Member Avatar for pedal123

Please change your connection as this $con = mysql_connect($host, $username, $password) or die(mysql_error()); And then tell us what error it gives to you. But the problem is at your query. This is your query. $result="SELECT username FROM members WHERE username = ". $myusername. " AND id = ". 1 ." …

Member Avatar for pedal123
0
211
Member Avatar for davy_yg

What do you exactly mean ? I just see static images on that page.

Member Avatar for davy_yg
0
113
Member Avatar for Shikha_1
Member Avatar for Shikha_1

I can see the errors, but this looks like it is for your homework. Please be polite, and dont just paste the question.

Member Avatar for almostbob
-5
121
Member Avatar for jemartalaban_1

What @iamthwee is telling you to do is that you have to create 1+ tables that will link with the `student ID` to your students table. Please reffer to this link [JOINS](http://dev.mysql.com/doc/refman/5.0/en/join.html)

Member Avatar for jemartalaban_1
0
198
Member Avatar for Venom Rush
Member Avatar for Webville312
Member Avatar for klemme
Member Avatar for brandon66

Exchange has an authorization module in the settings, and you can allow your IP to send emails trough it without authentification. The simplest methods is the SMTP with the Exchange domain name if its in the lan or the Exchange IP.

Member Avatar for brandon66
0
11K
Member Avatar for bojan123

put on your first line `ob_start();` and on the last line `ob_flush();` <?php ob_start(); /** * * Your code goes here * **/ ob_flush(); ?>

Member Avatar for bojan123
0
309
Member Avatar for davy_yg

The simplest way is that you have to drop the database and recreate it :)

Member Avatar for imBaCodes
0
112
Member Avatar for Szabi Zsoldos

Hi guys, I don't even know where to start, the ideea is that I want to develope an API that responds with certain data, but I don't have a clue for what to look. The ideea is that there is a panel like google analytics but with no stats, but …

Member Avatar for diafol
0
299
Member Avatar for Siberian

> Typically, I just execute the code manually that the cron job I am going to create will run. This is exactly what I also doin these cases.

Member Avatar for Siberian
0
352
Member Avatar for official.DJ.cabo
Member Avatar for Szabi Zsoldos

Hi guys, I want to create a crawler to extract some infomation from a page. The problem is that it is written with the Java Wicket Framework and I don't know how to scrape informations from it because I don't know how to submit some post parameters. Is this possible …

Member Avatar for Szabi Zsoldos
0
391
Member Avatar for davy_yg

Check your privileges on the user for MySQL, there is a privilege you have to set. If it is root, then there is no drop problem.

Member Avatar for itpixie
0
233
Member Avatar for Webville312

This is my aproach on a needed way, check this out. $('.' + obj + ' .deliv_date').datepicker({ dateFormat: "yy-mm-dd", showButtonPanel: true, beforeShow: function(input, inst) { var calendar = inst.dpDiv; setTimeout(function() { calendar.position({ my: 'right top', at: 'right bottom', collision: 'none', of: input }); }, 1); }, changeYear: true, changeMonth: true, …

Member Avatar for Webville312
0
6K
Member Avatar for klemme

query is not a function/method in this Class, you have to write a query function in your Database class with the PDO query function so that it will work.

Member Avatar for jkon
0
201
Member Avatar for edwin.thomson1
Member Avatar for davidjennings
Member Avatar for davidjennings
0
383
Member Avatar for code_rum

Please specify where did you imported the CSV. **NOTE:** If you have imported in MySQL, check your datatypes, if it's INT it will chunk it, you should use float, double or decimal in this case.

Member Avatar for code_rum
0
312
Member Avatar for Nathyjoy

The best thing is that you find yourself an idea of what you want to achieve and build your learning around that. For php is best to start at the basics PHP.net will do it for starters, but for different logics, as diafol said, you need some good books, and …

Member Avatar for jalpesh_007
0
293
Member Avatar for jLamp

The errors you are looking for can be found in the Error Reporting, Right click on My Computer -> Manage -> Event viewer -> Windows Logs -> Application

Member Avatar for veedeoo
0
317
Member Avatar for ca_linddha

What do you mean by > really different Show us your code-snipet to see the exact problem.

Member Avatar for cereal
0
187
Member Avatar for Xytheron

You can try it in XML also, but be aware that your are disaplaying your API key :)

Member Avatar for veedeoo
0
199
Member Avatar for L-D

As it seems you are using a wrong user to connect, as the string says > `hjhwkhjrf` user ? correct the login data, otherwise your commands are allright.

Member Avatar for Szabi Zsoldos
0
139
Member Avatar for ditty

In that case you should treat your files as files, not necesarily images, I imagine that you want to build stock library. It is personal or public ? If is personal than do it in Adobe Lightroom, if it's public shure, you can do it by PHP.

Member Avatar for Szabi Zsoldos
0
148
Member Avatar for Szabi Zsoldos

Hi guys, I'm working on a shopping cart and I'm having some difficulties with a concept. Basicly, I remove two articles in a certain condition and it works perfectly. My problem is that I want to redirect the user instantly if these two articles are removed from the cart. When …

Member Avatar for Szabi Zsoldos
0
793
Member Avatar for heftor

`this` can reffer to two things, one is from jQuery, it's the element that you want to affect. The other one is that i can be from a class and you can reffer as this to another function from the same clasee. In your case it is the first one …

Member Avatar for heftor
0
119
Member Avatar for PF2G

Please post us your code so we can see, also be sure to set your head tags in the HTML.

Member Avatar for Szabi Zsoldos
0
51
Member Avatar for weeraa

You need the php 5.3 verion for the DateTime::createFromFormat, it was introduced in that version.

Member Avatar for diafol
0
169
Member Avatar for shilu2

Please give more details about your problem, and tell us what do you want to achieve...

Member Avatar for mrvijayakumar
0
339
Member Avatar for sathishnaidu

If I'm not mistaking the problem is with your `AND t.channel_id = '1'` please try removing that and see the results.

Member Avatar for Szabi Zsoldos
0
219
Member Avatar for PF2G

Please try the UNION function for this. If you want more fields, the selected fields have to be equal as a number in all your union selects. Please note that this can be done in multiple ways, this is not the only option. (SELECT your_fields FROM yourTable1 WHERE yourField LIKE …

Member Avatar for diafol
0
147
Member Avatar for mrvijayakumar

Well the best is your own because you can make it based on your needs. It depends on your needs.

Member Avatar for diafol
0
536
Member Avatar for dartiss
Member Avatar for dartiss
0
236
Member Avatar for sathishnadu

Please reffer to this. UPDATE name SET first_name = REPLACE (first_name, 'a', 'b') WHERE blabla LIKE '%blabla%'; OR UPDATE name SET first_name = REPLACE (first_name, 'a', 'b') WHERE blabla = 'blabla';

Member Avatar for sathishnadu
0
153
Member Avatar for OsaMasw

Try this, in your case the problem is that you echo something already. And you must give an extension to the Content-Type: Try this version. function download($file) { $dir = "downloads/"; $path = $dir.$file; if(!file_exists($path)) { die('Error : fisierul cautat nu exista!'); } else { header("Cache-Control: public"); header("Content-Description: File Transfer"); …

Member Avatar for OsaMasw
0
397
Member Avatar for davidjennings
Member Avatar for showman13
Member Avatar for showman13
0
200
Member Avatar for naphets

Well echo is the syntax to display a text in PHP. Everything between '' or "" is a string. You are concatenating two or more strings with (dot) . $stuf is the array of the resultset from the Database. $stuff['heading'] is the value from the dabase of the heading column, …

Member Avatar for naphets
0
212
Member Avatar for shaqib

The End.