8,966 Posted Topics
Re: A [URL="http://php.net/manual/en/class.domnode.php"]DOMNode[/URL] has a property attributes, also a list. Perhaps [URL="http://php.net/manual/en/function.domnode-dump-node.php"]this page[/URL] can help. | |
Re: Remove line 21. It says, your database already exists. | |
Re: Please explain what you want. Something like [URL="http://ajaxcrud.com/"]this[/URL] or [URL="http://datatables.net/"]this[/URL] perhaps? | |
Re: Always [iCODE]mysql_close()[/iCODE] your connections when you're done. If you don't they will remain idle for 180 seconds (default). | |
Re: Using the command line or PHP for execution are actually two different user(groups). Make sure your web user (for PHP) is allowed to execute the command. | |
Re: The [URL="http://www.php.net/manual/en/pdf.installation.php"]installation chapter[/URL] points to the [URL="http://pecl.php.net/package/pdflib"]pecl website[/URL]. | |
Re: You can use [URL="http://php.net/manual/en/language.types.array.php"]unset[/URL] on an array element to remove it from the array. | |
Re: Isn't there a [iCODE]?[/iCODE] missing? Anyway, is your text url encoded, or do you just send plain text, including spaces and special characters? | |
Re: Are you sure that the web user (which runs PHP) has rights to start an external application ? | |
Re: Check if [iCODE]$cart_url[/iCODE] is set correctly. | |
Re: What's the problem? Use error checking, and show the error here (if any). | |
Re: [QUOTE=roydimeo;1708438]I don't know what social bookmarking is and how I then use it. Can someone please explain?[/QUOTE] It's providing easy methods for your visitors to add bookmarks to your site/article. You can recognize it everywhere. The like button (Facebook), the tweet button (Twitter), and many more. If you want an … | |
Re: What exactly do you need help with? Show what you have so far. | |
Re: If you look at the [URL="http://api.jquery.com/animate/"]manual[/URL], you can see that you can pass a complete function to animate. If you provide this, that function will trigger once the animation is done. [CODE] $(this).stop().animate({ opacity: 1.0 }, 500, function(){ // your next animation code goes here. }); [/CODE] | |
Re: Create a backup in the server manager, copy the file, restore it at home. | |
Re: This should be provided by your API (bulksms in your case). I advise you contact them, or perhaps it is in their documentation. | |
Re: I know you already chose for CSS, but I want to add a point for others having to make a similar choice. If you choose CSS you can allow your products to wrap around the width of the page. In the site where I used this I can set my … | |
Re: I think he means he wants to implement pagination. Anyway, if you search this forum, you'll find several threads on the subject. | |
Re: The Content-Length header is missing for one. Search this forum, there are some threads about this. | |
Re: Are you sure that posting to '#' is supposed to work ? Shouldn't that be window.location.href ? | |
Re: You want to upload a file through a form, and then FTP it to another server ? | |
Re: Where is your [iCODE]$banners_result = mysql_query($banners_num);[/iCODE] ? | |
Re: It's an Excel thing, although on my 2007 at work, the charset is detected correctly. If you use the import dialog, you can select which charset to use. | |
Re: [url]http://validator.w3.org/docs/errors.html[/url] Most are very straight-forward: 1. assuming missing "body" start-tag: <body> is missing. 2. Error: ID "body" already defined: All id="" attributes must be unique 3. etc... I suggest you read up on the (X)HTML specifications... | |
Re: You can use [iCODE]echo "»";[/iCODE] You have to use a font that supports it though. | |
Re: I think you forgot to post your code... (use code tags) | |
Re: If you want to do it yourself, [URL="http://webdevcodex.com/tutorial-installing-apache2-php5-mysql5-phpmyadmin3-windows-7-vista/"]here[/URL]'s some help. ![]() | |
Re: Yes, a backslash is an [URL="http://php.net/manual/en/regexp.reference.escape.php"]escape character[/URL]. So if you want to use it, you'll have to escape it, so use [iCODE]\\[/iCODE] Note, that you are allowed to use a forward slash, even on Windows. | |
Re: In your calls to the function, the comma is missing: [iCODE]makeVisible('one', ['two', 'three'])[/iCODE] | |
Re: Give an example of your data and expected output. Show some code too. | |
Re: It's MINUTE, without the 'S'. [url]http://dev.mysql.com/doc/refman/5.6/en/create-event.html[/url] | |
Re: In addition to simplypixie's answer: mysql_query results do no contain the [iCODE]table.column[/iCODE] syntax. Your [iCODE]$row[/iCODE] will contain [iCODE]player_email, Player_First_Name and paid_thru[/iCODE] | |
Re: XSLT is text based, hence no objects. So yes, you may have to parse it. | |
Re: I was wondering if you want create/delete events per cart. If so, wouldn't it be easier to run a scheduled task every 5 minutes, and update your tables with a last-used timestamp? | |
Re: Use a calculated column that sums all your 0/1 columns. Then you can just add [iCODE]WHERE summed > 0[/iCODE] | |
Re: You can use a .htaccess file with the following content: [CODE=text] RewriteEngine On RewriteCond %{HTTPS} on RewriteRule (.*) http://www.example.com/$1 [R=301] [/CODE] | |
Re: [iCODE]=[/iCODE] is for assignment, [iCODE]==[/iCODE] for [URL="http://php.net/manual/en/language.operators.comparison.php"]comparison[/URL]. | |
Re: I guess you want something like [URL="http://ajaxcrud.com/"]this[/URL] ? | |
Re: Well, of course. Once you click the link, the page is redirected, and Home is the one selected again. I think you should just use PHP to determine which class to highlight, instead of defaulting to Home. | |
Re: Read [URL="http://www.daniweb.com/web-development/php/threads/191031"]this thread[/URL] on how to include error checking in your code, so you can track if something fails. | |
Re: Your mysql_query misses the closing parenthesis. Next time use code tags! | |
Re: [QUOTE=anthonyjpv;1760436]I am trying to insert a record in table 2 which PK doesnt exist yet in table 1[/QUOTE] This is precisely what FK's are meant to prevent. I am not sure if MySQL INNODB tables have/support nullable FK's, but that's what you need. | |
Re: You cannot always force it. My email settings are set specifically to plain text. You could try to use a mailing tool (PHPMailer for example). Most of them have a lot more settings then the default mail() function. All of those specific headers are already built for you, so you … | |
Re: If you use a tool like log4php for example, you define in your configuration file where the logging has to go. So if it some point you no longer want to log to file, you just change the configuration. Personally I prefer database, because it makes it easier to filter … | |
Re: From [URL="http://php.net/manual/en/functions.arguments.php"]the manual[/URL] (below example #4): "[B]The default value must be a constant expression[/B], not (for example) a variable, a class member or a function call." | |
Re: Start by looking at [iCODE]Memo.Lines.SaveToFile()[/iCODE], if you want to append to an existing file, have a look at [iCODE]SaveToStream[/iCODE]. The latter is IMHO easier to use when appending, because you can first load an initial file into it, and then pass it to the function. | |
Re: This should do it: [CODE=sql] INSERT INTO topics ( topic_type ) SELECT CASE WHEN sticky = 'y' THEN 1 WHEN announcement = 'y' THEN 2 WHEN announcement = 'a' THEN 3 ELSE 0 END CASE FROM setup [/CODE] |
The End.