8,966 Posted Topics

Member Avatar for hwoarang69

Perhaps [this SO thread](http://stackoverflow.com/questions/1199135/mysql-recover-database-from-frm-files) can help.

Member Avatar for pritaeas
0
313
Member Avatar for rotten69

Upvotes alone count towards your post quality score. If they give rep (with a comment) then it will affect your reputation points.

Member Avatar for pritaeas
1
564
Member Avatar for rotten69

Perhaps this will help: https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object/isPrototypeOf

Member Avatar for rotten69
0
178
Member Avatar for Ritesh_4
Member Avatar for abhinavkumar123
Member Avatar for ziyaddinsadigov

If your database collation is set to case insensitive you can simply use `WHERE username = 'John'`

Member Avatar for Atli
0
16K
Member Avatar for arcticM

Something like this should do it: while ($row = dbnext($res, MYSQL_ASSOC)) { $return_array[] = array ('label' => $row['id'], 'desc' => $row['desc']); }

Member Avatar for arcticM
0
203
Member Avatar for Octet

`document.getElementById('Editor')` does a lookup each time. It would increase performance a little if you just store this in a variable once, and use the variable instead.

Member Avatar for Octet
0
476
Member Avatar for jfraizer
Member Avatar for lena1990
Member Avatar for OsaMasw

I think this [SO thread](http://stackoverflow.com/questions/8915713/php5-3-preg-match-with-umlaute-utf-8-modifier) may be of use. It appears problematic.

Member Avatar for OsaMasw
1
232
Member Avatar for end3r
Member Avatar for hwoarang69

You can use a foreign key to prevent inserting a non-existent user-id into your table.

Member Avatar for pritaeas
0
123
Member Avatar for fakhra
Member Avatar for lkkkeith

Could be a security issue, see here: http://forums.asp.net/t/1483203.aspx/1

Member Avatar for pritaeas
0
64
Member Avatar for hwoarang69

That would mean the query failed. It looks correct at first glance, so are you sure you are connected correctly? I suggest you add some error checking to find out.

Member Avatar for diafol
0
251
Member Avatar for noahjonesnoah

Hard to say from just your tables. Start of easy with one table, and extend your query with a join one table at a time.

Member Avatar for TonyG_cyprus
0
167
Member Avatar for xanawa
Member Avatar for mwatson81
0
311
Member Avatar for Reverend Jim

> so I do not have access to my browser bookmarks Use Google bookmarks, they are portable (with or without the toolbar).

Member Avatar for Reverend Jim
0
214
Member Avatar for janguyo

> $result = mysql_query("Select * from " . $strTable . mysql_error());//this is the error source Should be: $result = mysql_query("Select * from " . $strTable) or die(mysql_error());

Member Avatar for pritaeas
0
187
Member Avatar for axymak
Member Avatar for joshmac

Are you sure you are showing the right snippet? If it is the while then the query must have failed. Add some debugging.

Member Avatar for pritaeas
0
200
Member Avatar for lse123
Member Avatar for pritaeas

Below is a documented code example showing how to use the SQLite3 class to connect and query your database (and check for errors). IMHO using PDO is a better alternative, as this extension uses mixed technology in a non-standard way (objects, arrays and exceptions). If there are any questions let …

2
4K
Member Avatar for rambharath89

Perhaps [this](http://www.databison.com/index.php/read-write-to-file-excel-workbook-access-using-javascript-sql/) will help.

Member Avatar for pritaeas
0
220
Member Avatar for Lynne Good
Member Avatar for komabasi
Member Avatar for pritaeas

Below is a documented code example showing how to use the SQLite functions to connect and query your database (and check for errors). Please note that using the SQLite extension is NOT RECOMMENDED. This extension is no longer available in PHP 5.4.0. If you want your scripts to be future …

2
589
Member Avatar for pritaeas

This demo will show a PHP script using a Smarty template. It assumes basic installation. In the folder where you copy the script, there should be a smarty folder containing the Smarty files. You should create a writable `cache` and `templates_c` folder, and a folder called `templates` where the `.tpl` …

Member Avatar for pritaeas
2
532
Member Avatar for herms14
Member Avatar for pritaeas
0
125
Member Avatar for rajilakshmi
Member Avatar for mbarandao

Your best bet would be to use an additional table with all dates, and join with that.

Member Avatar for mbarandao
0
460
Member Avatar for jelly46

Looks like it is coming from this [SO thread](http://stackoverflow.com/questions/9379615/onclick-for-google-analytics-and-target-blank-the-link-does-not-work).

Member Avatar for jelly46
0
89
Member Avatar for kinbo

`Tel number` has a space in the column name, invalidating your query. You need to use quotes around it (although am not sure which).

Member Avatar for deceptikon
0
2K
Member Avatar for dancks
Member Avatar for bikashjit

I don't think so. The resolution is encoded into the file, you should be able to extract it.

Member Avatar for pritaeas
0
69
Member Avatar for WDrago

Perhaps using NuGet will simplify the process: http://www.tsjensen.com/blog/post/2012/11/10/SQLite-on-Visual-Studio-with-NuGet-and-Easy-Instructions.aspx

Member Avatar for JOSheaIV
0
334
Member Avatar for eman neercs

SKU is indexed I assume. You can try this to see if it makes a difference (it avoids a costly join): SELECT `SKU` FROM `con_inv_old` WHERE `SKU` NOT IN ( SELECT `SKU` FROM `con_inv` WHERE `SKU` IS NOT NULL )

Member Avatar for jstfsklh211
0
148
Member Avatar for Violet_82
Member Avatar for eburlea
Member Avatar for eburlea
0
241
Member Avatar for shhh
Member Avatar for ambageo

What do you have? An mysql dump file? If so, you can use: mysql -u username -p password database_name < filename.sql

Member Avatar for gon1387
0
83
Member Avatar for RRPowered

I have [a demo](http://www.pritaeas.net/demos/jq-portfolio/index.html) on my website that uses two. One to show the current, and the other to preload the next. Take what you need. If you have questions, let me know here. You should make an improvement, since I am using a Javascript array. You should use AJAX …

Member Avatar for pritaeas
0
263
Member Avatar for hwoarang69

Read [this article](http://www.endyourif.com/why-you-should-avoid-order-by-rand-or-newid/).

Member Avatar for pritaeas
0
84
Member Avatar for while(!success)

I think `ExecuteNonQuery` does not expect a result to be returned. I think you need `ExecuteScalar`, but am not entirely sure.

Member Avatar for while(!success)
0
3K
Member Avatar for Arjun_Sarankulu

`mssql_execute` doesn't return a result set, only out parameters or a single return value.

Member Avatar for Arjun_Sarankulu
0
146
Member Avatar for muzamilsw10
Member Avatar for tamas.vincze.714
Member Avatar for shasta90
Member Avatar for shasta90
0
484
Member Avatar for niladri.prima

The End.