8,966 Posted Topics

Member Avatar for Petrica7
Member Avatar for Sorcher

Your query is invalid: [code=sql] SELECT * FROM $tbl_name WHERE name BY id='$id' [/code] I think you mean this: [code=sql] SELECT * FROM $tbl_name WHERE id='$id' [/code]

Member Avatar for Sorcher
0
154
Member Avatar for arsala khan
Member Avatar for sjgoodjob

I uploaded your code here: [url]http://www.pritaeas.net/public/daniweb/335874/[/url] No issues.

Member Avatar for pritaeas
0
129
Member Avatar for bjeffries
Member Avatar for MDanz
Member Avatar for soft_coder

If you are really using both (jquery.js and jquery-1.2.6.min.js), remove one. (Latest version currently is 1.4.4)

Member Avatar for soft_coder
0
285
Member Avatar for WHchaz1027

[code] SELECT field1, field2 FROM table1 WHERE field3 IN ( SELECT field3 FROM table2 WHERE field4 BETWEEN 'A1' AND 'A50' ) [/code]

Member Avatar for WHchaz1027
0
93
Member Avatar for bjeffries

Did you try a relative path to your images, not starting with a slash ?

Member Avatar for bjeffries
0
126
Member Avatar for architact

If you have separate tables for groups, users and messages, then you only need to track what message belongs to what group. You can then track a user, via his groups to the messages.

Member Avatar for pritaeas
0
77
Member Avatar for morteza_ipo
Member Avatar for morteza_ipo
0
121
Member Avatar for Acute

Asynchronous means it runs without waiting for an answer. So in the 1st situation, while registration.php is running, text has no result yet and thus displays nothing. The second code, where async is false, runs until the php file is done, before displaying the value of text.

Member Avatar for Acute
0
261
Member Avatar for mcgeepj2
Member Avatar for mcgeepj2
0
723
Member Avatar for reibi
Member Avatar for vinayakgarg
0
150
Member Avatar for bwallace
Member Avatar for bwallace
0
368
Member Avatar for daviddoria
Member Avatar for Joe34
Member Avatar for cty

Post a new thread (instead of replying to a really old one) with your relevant code and the errors you're getting. This description is too vague to answer.

Member Avatar for chrishea
0
272
Member Avatar for kalleanka

If your interval and string length is fixed then you could use: [code] tmpStr.replace(/(\d{3})(\d{3})(\d{2})(\d{2})(\d{2})/g, '$1 $2 $3 $4 $5'); [/code]

Member Avatar for kalleanka
0
100
Member Avatar for Moderns
Member Avatar for bakir
0
361
Member Avatar for prem2

[url]http://httpd.apache.org/docs/current/howto/auth.html[/url] mod_auth_digest needs to be enabled in Apache. If it is enabled, it should be visible in phpinfo()

Member Avatar for pritaeas
0
265
Member Avatar for ckdoublenecks

The short message would be: Check your string quoting. Next, your update query is invalid. And then, check your javascript, because you mix js and php variables. Not possible like this. Also a } too much I think.

Member Avatar for cossay
0
140
Member Avatar for bibekpokharel
Member Avatar for lttleastig

Apparantly error 3621 points to an error in a foreign key constraint.

Member Avatar for pritaeas
0
54
Member Avatar for Superd00d

An int so you can store the UserID would be a better choice in my opinion. Then you can link the user information in your queries.

Member Avatar for pritaeas
0
274
Member Avatar for bluetoot

Can't see a string termination failure, unless one of your variables contain a double quote. Next to that, the syntax of your insert query is wrong. (Learn to use code tags)

Member Avatar for pritaeas
0
195
Member Avatar for Moderns

It doesn't make sense to use ajax then. It is specifically designed for this purpose. You can use regular (synchronous) functions to do your job.

Member Avatar for Moderns
0
3K
Member Avatar for thusarix

[url]http://www.freepascal.org/docs-html/rtl/system/assign.html[/url] Try the examples at the bottom and go from there. If you still have questions, come back here with a specific example/problem.

Member Avatar for dhee.outsider
0
1K
Member Avatar for keyroche

[QUOTE=kroche;1431068]I also thought of maybe making an array and constantly putting it into a database table and then pulling the array on the other pages. I was thinking this would be slow and an unnecessary amount of queries to the database though.[/QUOTE] If your wizard is on the same server …

Member Avatar for keyroche
0
768
Member Avatar for soomro_moon

It would be helpful to know what result you are looking for. This code will display one result, or empty fields.

Member Avatar for soomro_moon
0
137
Member Avatar for anita_86

If you want a specific status, just add it to the WHERE clause of your query. Next time, please use code tags for readability.

Member Avatar for anita_86
0
66
Member Avatar for sahromo
Member Avatar for bakir
0
172
Member Avatar for hameredhed

[url]http://www.php.net/manual/en/function.setcookie.php[/url] Note that there is a size limit, it may not be possible to store all your results.

Member Avatar for pritaeas
0
102
Member Avatar for youlichika

This is the js code I use on one of my sites. I'm sure you can put the right stuff in yours. [code] var _map; var _marker; var _mapObject = document.getElementById("googlemap"); var _customIcon; var gMarkers = []; function addItem(pLat, pLong, pTitle) { if (_mapObject == null) return; if (_map == …

Member Avatar for youlichika
0
360
Member Avatar for Borzoi

Yesterday at work I got a call from a (technical) manager who had just removed the last server from our previous location. While in the car he realized he had just removed the server which was still being used by a legacy application to send confirmation e-mails to customers.

Member Avatar for The Mad Hatter
0
157
Member Avatar for soomro_moon
Member Avatar for soomro_moon
0
103
Member Avatar for WebKoller

One solution would be to return them as an array from your function, like this: [code] function getGroupData() { $return_value = array(); $result = mysql_query('SELECT * FROM groups') or die(mysql_error()); while ($row = mysql_fetch_array($result)) { $return_value[] = $row; } return $return_value; } $data = getGroupData(); print_r($data); [/code]

Member Avatar for pritaeas
0
115
Member Avatar for soomro_moon

Misquoted: [code] mysql_query("update doctor_schedule_information set monday='{$_POST['m']}',tuesday='{$_POST['t']}',wednesday='{$_POST['w']}',thursday='{$_POST['th']}',friday='{$_POST['f']}',saturday='{$_POST['st']}',sunday='{$_POST['su']}' where doctor_ID='{$_POST['d_id']}'") or die(mysql_error()); [/code]

Member Avatar for soomro_moon
0
80
Member Avatar for professor123

You can use gmail for example. There are several threads in this forum about it.

Member Avatar for bakir
0
90
Member Avatar for Sorcher

[code] RewriteRule ^(\w+)$ http://example.com/index.php?page=$1 [/code]

Member Avatar for pritaeas
0
120
Member Avatar for dennishall

Line 8 in the last snippet (INSERT INTO) is wrong, compare it with line 7 of roi_form.php

Member Avatar for dennishall
0
321
Member Avatar for mr_scooby

[code] Model\s+:\s+(\w{2,10})\s+(\w{5,20}) [/code] \s allows whitespace + one or more \w is a word character (letters, digit and underscore) {2,10} between two and ten of the previous \w () is a group that is returned separately

Member Avatar for mr_scooby
0
135
Member Avatar for Cool&Awesome

If you use a relative path to your CSS, then this might be the cause. Try using an absolute path starting with a slash or a full url (including your domain).

Member Avatar for pritaeas
0
93
Member Avatar for Moderns
Member Avatar for Moderns
0
181
Member Avatar for imti321
Member Avatar for itisnot_me

queryUpdate is a function, not a class. Read more [url=http://nl.php.net/manual/en/language.oop5.basic.php]here[/url].

Member Avatar for R0bb0b
0
368
Member Avatar for dennishall

[code] $("#roi_calculator").submit(function(event) { event.preventDefault(); [/code] This prevents the actual submit to take place.

Member Avatar for dennishall
0
206
Member Avatar for george61

1. Use lowercase function names. 2. imagejpeg has a filename parameter, use that to overwrite your original image.

Member Avatar for pritaeas
0
171
Member Avatar for aryanmughal
Member Avatar for jlego

You can run the php files through the scheduler directly using [url=http://www.php.net/manual/en/install.windows.commandline.php]php.exe on windows[/url], or [url=http://www.php.net/manual/en/features.commandline.usage.php]php on linux[/url].

Member Avatar for pritaeas
0
172

The End.