8,966 Posted Topics

Member Avatar for vijayram

I think url expect a string. `$("#planbook_planmate")` returns an object.

Member Avatar for pritaeas
0
104
Member Avatar for hwoarang69

> Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given This warning indicates that your query has failed. Replace line 6 with: $result = mysql_query($sql) or die(mysql_error()); Now you should see why it fails. You can post the error back here. As for the undefined index notice, you can …

Member Avatar for pritaeas
0
697
Member Avatar for bestbird7788

If you mean reducing your result set by further adding new filters, maybe Navicat will work. It's paid, but has a trial version available. Filtering columns is well implemented, you can just right click a column and add a filter or sort.

Member Avatar for bestbird7788
0
226
Member Avatar for subtlehulk
Member Avatar for McLaren

There may be tools to do this, but you can also grep all your files and extract the lines containing the `function` keyword.

Member Avatar for McLaren
0
103
Member Avatar for happygeek
Member Avatar for Ezzaral
0
189
Member Avatar for farkZ

Here's an [SO thread](http://stackoverflow.com/questions/24/throw-an-error-in-mysql-trigger/7189396#7189396) with an example of how to use signal (if available in your version of MySql).

Member Avatar for farkZ
0
631
Member Avatar for McLaren

My personal opinion would be to test against a second database. Before testing restore it, test your code, check the changes.

Member Avatar for McLaren
0
226
Member Avatar for group256

I find dirList 0.3.0 very useful. I don't know if it has search capability, but the code is pretty straightforward, perhaps you can add the search to it.

Member Avatar for tzakuk
0
169
Member Avatar for NetJunkie

Started around 1984 I guess when I was 11. Was able to buy an Acorn Atom with a whopping 16K of memory. Quite enough for learning assembly back then.

Member Avatar for Reverend Jim
0
966
Member Avatar for hwoarang69

This will get you started: http://www.daniweb.com/web-development/php/threads/340937/how-to-make-4-by-4-table

Member Avatar for jeremym001
0
140
Member Avatar for ITech

> CURLOPT_FOLLOWLOCATION, 0 When this setting is off, and your login page redirects, your curl call will stop. Try setting this to `1`

Member Avatar for veedeoo
0
1K
Member Avatar for golfgod04

It's kind of strange that you would have no permissions to view an image folder, unless the permissions are revoked. In my opinion a htaccess file does not address this issue. Can you open any file you uploaded in the web root?

Member Avatar for golfgod04
0
110
Member Avatar for jward50

http://dev.mysql.com/doc/refman/5.0/en/faqs-stored-procs.html#qandaitem-B-4-1-14 So, it is possible, but I am unsure that your query is correct. I think your query should look something like: SELECT a.title, IF( SELECT 1 FROM node a,taxonomy_index b, taxonomy_term_data c WHERE .... = 1, 'Y', 'N' ) AS YesNo FROM a

Member Avatar for pritaeas
0
100
Member Avatar for manu555
Member Avatar for pritaeas
0
107
Member Avatar for gopi17

Looks like you are trying to use a varchar value in an `IN` clause. Make sure those values are surrounded by single quotes.

Member Avatar for pritaeas
0
181
Member Avatar for hwoarang69

To get rid of the notice, you can use code like this: $file = isset($_FILES['fileupload']) ? $_FILES['fileupload']['tmp_name'] : false;

Member Avatar for pritaeas
0
129
Member Avatar for hwoarang69

Yes. Search this forum. This has been discussed a lot of times. IIRC the ssl port is 995, but not 100% sure.

Member Avatar for vibhaJ
1
8K
Member Avatar for sentongogray

Can you please explain what you mean by that ? I suggest you start [here](http://php.net/manual/en/tutorial.php)

Member Avatar for azareth
0
71
Member Avatar for diafol

I would love to see an overhaul of functions and parameters. Please let them ditch the procedural (sql) functions too. No, not deprecated, I want to see them removed. Let's make everything a class: session, files, get and post superglobals are excellent candidates.

Member Avatar for diafol
1
86
Member Avatar for hwoarang69

Image to comment is a one-to-many relationship, so a separate table is recommended.

Member Avatar for adam_k
0
172
Member Avatar for sternone

Gently pressing the Run shortcut increases the changes of it actually running. Btw, I have the DAS keyboard too, excellent choice IMO.

Member Avatar for sternone
0
240
Member Avatar for rakibtg
Member Avatar for pritaeas
0
234
Member Avatar for Albert Pinto

Note, that some hosting providers do not allow foreign key relation. Check with their support to make sure.

Member Avatar for pritaeas
0
119
Member Avatar for ssa-ed

[Here](http://delphi.about.com/cs/adptips1999/a/bltip1099_5.htm) is a sample to get you started.

Member Avatar for pritaeas
0
124
Member Avatar for |-|x

var result = isValid(a); result = isValid(b) && result; return isValid(c) && result;

Member Avatar for |-|x
0
430
Member Avatar for code739

The domain name part is case insensitive, but the part before the @ depends on the receiving host. In most cases it is case insensitive too.

Member Avatar for code739
0
114
Member Avatar for TheGame1083

You may want to add some more details or code. Do you want to check this after submitting your form?

Member Avatar for TheGame1083
0
153
Member Avatar for Labdabeta

QWERTY, sometimes AZERTY, and even less often my [one-handed keyboard](http://www.frogpad.com/), although mine is older than shown.

Member Avatar for hekri
0
147
Member Avatar for ak47carbon

A framework contains a lot of code, ready for use, making application development easier (or it should). Most are written in an object oriented style, to allow for easy re-use and extension. Main benefit of a framework is that you do not have to write everything yourself and take advantage …

Member Avatar for pritaeas
0
49
Member Avatar for vizz
Member Avatar for mariaceline_21
Member Avatar for ebanbury

See the example [here](http://www.php.net/manual/en/mysqli.prepare.php). You need to fetch the result, before you close the statement.

Member Avatar for mamdouh ramadan
0
148
Member Avatar for azareth

Echo the query before it runs, to see what it contains. Then you can run it against your database and see what happens.

Member Avatar for diafol
0
161
Member Avatar for gssr

Show your table structure too. If I would do this, I'd use an auto ID column, a gender field (F/M) and an integer column. You can generate your id by using the last two fields combined.

Member Avatar for pritaeas
0
331
Member Avatar for benqus

You may want to have a look at this [link](http://www.jameswiseman.com/blog/2010/04/19/creating-a-jquery-custom-selector/)

Member Avatar for benqus
0
208
Member Avatar for davy_yg
Member Avatar for QuaminaIT

The alert only shows a message, you cannot check it's value. Use a separate variable to store true/false to return as the function result.

Member Avatar for fobos
0
166
Member Avatar for hwoarang69
Member Avatar for kelvinejimogu

Add a default timezone in your php.ini file, and the warning goes away.

Member Avatar for kelvinejimogu
0
181
Member Avatar for arezz09

If you search this forum, you'll see a lot of threads on uploading, storing info in a database.

Member Avatar for seslie
0
96
Member Avatar for rushikesh jadha

What exactly do you want ? Anything that is not available [here](http://www.asp.net/downloads) ?

Member Avatar for pritaeas
0
72
Member Avatar for DaveyMoyes

Line 10 checks `$var1`, but it is not given any value. Perhaps you wanted to check `$var` ?

Member Avatar for pritaeas
0
179
Member Avatar for DarkMonarch

When you are updating code, clean up around the change. With every change you make, the code will get cleaner. Add some sensible comments where needed, fix the identation, adjust variables names, whatever you can improve.

Member Avatar for pritaeas
0
73
Member Avatar for hwoarang69
Member Avatar for pritaeas
0
234
Member Avatar for Jake.20
Member Avatar for fobos
0
227
Member Avatar for eburlea
Member Avatar for abhi10kumar
Member Avatar for pritaeas
0
39
Member Avatar for dartiss

Looks like you forgot to add the delimiter. Your preg should look something like this (note the percent sign): preg_match('%\s(https?://www.youtube(?:-nocookie)?.com/(?:v|embed)/([a-zA-Z0-9-]+))%i', $subject);

Member Avatar for dartiss
0
200
Member Avatar for davy_yg

`(` and `)` are special characters, you need to escape them with a backslash.

Member Avatar for pritaeas
0
199

The End.