8,966 Posted Topics

Member Avatar for tarwara

You need to include it with an absolute path. It's usually something like this: include '/home/yourusername/public_html/insuranceGEO/includes/header.php';

Member Avatar for tarwara
0
193
Member Avatar for jakizak

You will need to use `json_decode` to create an array of your JSON. Then you can add your new data to that array. Finally use `json_encode` to create the new JSON.

Member Avatar for AleMonteiro
1
162
Member Avatar for Franklinugo

That means it cannot find the file `includes/form_function.php`.

Member Avatar for pritaeas
0
72
Member Avatar for jaron1611
Member Avatar for pritaeas
0
217
Member Avatar for 2ice

Your link is dead (at least here). As for how... select a web language to build this in and start.

Member Avatar for pritaeas
0
37
Member Avatar for suavedesign
Member Avatar for moninda
Member Avatar for azegurb

Chaining is calling one function after another on the same object. Returning the object is a way to accomplish that. It allows you to write. anObject.method1().method2().method3();

Member Avatar for azegurb
0
98
Member Avatar for nunuaziz_
Member Avatar for Fahim Nasir
Member Avatar for ndeniche

Of course I tested it before deploying... and I backed it up too.

Member Avatar for chrishea
0
1K
Member Avatar for jvinothkumardpi

> i did the coding for displaying the datas but i got struct in viewing the data from two date ie from 1st date to the 2nd date. If you mean you need to adjust your query, then have a look at BETWEEN.

Member Avatar for Ketsuekiame
0
163
Member Avatar for silent lover
Member Avatar for rosse88

The error message states that `$dbh` is incorrect. Are you sure you included the connect script?

Member Avatar for rosse88
0
250
Member Avatar for xHellghostx
Member Avatar for callumbagshaw
Member Avatar for McLaren

IMO having an options variable (array/object) is more readable, plus easier to change. Without it, overlooking a class when changing is easy, especially when the code grows. I think that these kind of identifiers do not belong in code. They can be variables or constants, but they should be defined …

Member Avatar for pritaeas
0
165
Member Avatar for Tinnin
Member Avatar for Tinnin
0
348
Member Avatar for sainigks

If you export your XLS as CSV, then MySQL can import it with LOAD DATA. [Here](http://www.daniweb.com/web-development/databases/mysql/threads/189594/import-csvs-into-mysql-db)'s a thread about it.

Member Avatar for pritaeas
0
229
Member Avatar for merisha.iwanthi
Member Avatar for pritaeas
0
158
Member Avatar for kshahnazari

> Does this get text that is brought to the page with java script ? No. It only returns the initial HTML source.

Member Avatar for pritaeas
0
375
Member Avatar for dinhunzvi

> i want it to validate the email only if a value has been supplied You do this already in PHP. What exactly is the problem?

Member Avatar for dinhunzvi
0
231
Member Avatar for rishif2

Use an `if` to see if the rec or user value is null (or empty) before you assign it to the textbox.

Member Avatar for rishif2
0
151
Member Avatar for chukeej
Member Avatar for arasten
Member Avatar for learningcoding

> will the application will start using the database on its own Only if the server name, user, password and database are identical to the one you used. Usually, you will have a config setting which contains all this information (ConnectionString).

Member Avatar for pritaeas
0
173
Member Avatar for pardeep3dec
Member Avatar for mrabrar09

Perhaps [this thread](http://social.msdn.microsoft.com/Forums/en/sqldataaccess/thread/3e869ce7-d6df-4392-ba53-5d44a46e16d8) can help.

Member Avatar for pritaeas
0
1K
Member Avatar for wvoke9

> when I turn these queries into a 'Routine' the option to 'display chart' is taken away in the Query Results Operations task bar What tool are you using to do this?

Member Avatar for pritaeas
0
140
Member Avatar for Tinnin

> $q = "SELECT TeamName FROM Master_Team WHERE TeamID = \"{TeamID[i]}\""; Should be: $q = "SELECT TeamName FROM Master_Team WHERE TeamID = '{$TeamID[$i]}'"; Apart from that add error checking to your queries, so you'll have an indication of what's wrong.

Member Avatar for Tinnin
0
206
Member Avatar for shweta patil

[This thread](http://www.daniweb.com/web-development/php/threads/442314/fetch-the-data-from-other-website) shows you how to get it. If you want to use ready-made code, search the web, there are a lot of scripts to be found.

Member Avatar for pritaeas
0
35
Member Avatar for ibn_sumal

> To correct it you have need to edit php.ini and set chmod 777 on your test folder. I recommend using **755** (777 is too vulnerable). I think the rights were the problem in the first place.

Member Avatar for pritaeas
0
438
Member Avatar for Rahul47
Member Avatar for <M/>
Member Avatar for code739

There are some ways to extract the information if your date can be recognized as a specific one. The problem remains with a date like `2013-01-02`. There is no way to tell if the month is January or February.

Member Avatar for code739
0
225
Member Avatar for matanc244
Member Avatar for broj1
0
71
Member Avatar for Julia25

Looks like the image has no source file defined, but I cannot guess where you would need to change this.

Member Avatar for gon1387
0
141
Member Avatar for manaila
Member Avatar for pritaeas
0
265
Member Avatar for Amicallef1991

Remove line 9. Also this: mysql_query('SELECT * FROM ccm3414.StudentInfo'); if (false) { die ('Unable to Select that DB : ' . mysql_error()); } doesn't work, use this: $result = mysql_query('SELECT * FROM ccm3414.StudentInfo') or die (mysql_error()); Lines 16-19 can be removed too.

Member Avatar for Amicallef1991
0
616
Member Avatar for mradzinski006
Member Avatar for mradzinski006
0
182
Member Avatar for ktsangop

Off the top of my head: SELECT player, SUM(credit_a) AS SumA, SUM(credit_b) AS SumB, SUM(credit_c) AS SumC, SUM(credit_d) AS SumD, gameday FROM TransactionLog WHERE player IN ('NICK', 'PETER') AND gameday IN ( SELECT gameday FROM TransactionLog ORDER BY gameday DESC LIMIT 3 ) GROUP BY player, gameday ORDER BY player, …

Member Avatar for pritaeas
0
239
Member Avatar for redapple12

There are multiple ways to do this. You can build this yourself by creating/using a database (or file) and a backend administration page where you can change the classes by submitting a form. Since you mention cutenews, you could install this, as it is a ready to use cms. Another …

Member Avatar for redapple12
0
129
Member Avatar for joshl_1995

You get an access token, after the user has logged in. Read more [here](http://msdn.microsoft.com/en-us/library/live/hh826543.aspx), or read more about the OAuth flow [here](http://msdn.microsoft.com/en-us/library/live/hh243647.aspx).

Member Avatar for pritaeas
0
368
Member Avatar for Reverend Jim
Member Avatar for happygeek
0
435
Member Avatar for garyjohnson

Technically it would be no problem to this with functions only. In the long run however, you'll be better off understanding and (re)using classes/objects.

Member Avatar for diafol
0
147
Member Avatar for richprich

I'm not sure it would be the best way, but you could use `preg_replace_callback` and use a global array to store whether the id is duplicate or not.

Member Avatar for richprich
0
603
Member Avatar for Ritesh_4

With Pos you can find the position of that character. Then you can determine if it is at the start or end, or in the middle. Another option would be to use a regular expression.

Member Avatar for pritaeas
0
303
Member Avatar for LastMitch
Member Avatar for broj1
0
5K
Member Avatar for sam.merry

You'd first need several insurance API's you can use to get the information required. Do you know of any?

Member Avatar for pritaeas
0
322
Member Avatar for joshl_1995

According to the docs you'll need to call `deleteFile` with the login, password and file-id.

Member Avatar for pritaeas
0
279

The End.