8,966 Posted Topics
| |
Re: 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] | |
Re: I uploaded your code here: [url]http://www.pritaeas.net/public/daniweb/335874/[/url] No issues. | |
Re: If you are really using both (jquery.js and jquery-1.2.6.min.js), remove one. (Latest version currently is 1.4.4) | |
Re: [code] SELECT field1, field2 FROM table1 WHERE field3 IN ( SELECT field3 FROM table2 WHERE field4 BETWEEN 'A1' AND 'A50' ) [/code] | |
Re: Did you try a relative path to your images, not starting with a slash ? | |
Re: 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. | |
Re: 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. | |
Re: I do not see a mysql_connect/mysql_select_db, only a mysql_query. | |
Re: What are the choices you have for the server configuration? | |
Re: It cannot find this file: /home/natura44/public_html/ealantamagazine.com/links/lib/phplib/template.inc | |
| |
Re: 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. | |
Re: 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] | |
Re: I am wondering, if you use mysql_close() in your Test() function, do you still get the same error ? | |
Re: [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() | |
Re: 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. | |
Re: Post your code to explain your problem. | |
Re: Apparantly error 3621 points to an error in a foreign key constraint. | |
Re: 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. | |
Re: 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) | |
Re: 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. | |
Re: [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. | |
Re: [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 … | |
Re: It would be helpful to know what result you are looking for. This code will display one result, or empty fields. | |
Re: If you want a specific status, just add it to the WHERE clause of your query. Next time, please use code tags for readability. | |
Re: [code] $sql="SELECT Email FROM customer WHERE username='$user'"; [/code] | |
Re: [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. | |
Re: 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 == … | |
Re: 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. | |
Re: [code] <a href="javascript:window.print()">Click to Print This Page</a> [/code] | |
Re: 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] | |
Re: 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] | |
Re: You can use gmail for example. There are several threads in this forum about it. | |
Re: [code] RewriteRule ^(\w+)$ http://example.com/index.php?page=$1 [/code] | |
Re: Line 8 in the last snippet (INSERT INTO) is wrong, compare it with line 7 of roi_form.php | |
Re: [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 | |
Re: 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). | |
Re: Save your output to file and return that as response. You can refresh it at a set interval. | |
Re: Did you look at my response in your other thread ? ![]() | |
Re: queryUpdate is a function, not a class. Read more [url=http://nl.php.net/manual/en/language.oop5.basic.php]here[/url]. | |
Re: [code] $("#roi_calculator").submit(function(event) { event.preventDefault(); [/code] This prevents the actual submit to take place. | |
Re: 1. Use lowercase function names. 2. imagejpeg has a filename parameter, use that to overwrite your original image. | |
Re: Ask your provider first, if they support this. | |
Re: 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]. |
The End.