8,966 Posted Topics
Re: [CODE=SQL] SELECT * FROM person WHERE fullname = 'tahir' LIMIT 1 UNION SELECT * FROM person where fullname <> 'tahir' ORDER BY fullname ASC [/CODE] | |
Re: [url]http://www.sencha.com/products/extjs/examples/#sample-5[/url] | |
Re: Can you give an example of what you have, and what you want? | |
Re: You should only use header if nothing has been outputted already. You can fix it if you move your if to the top of the file. Next time please use code tags. | |
Re: TrueCrypt works on a drive (HD, USB, floppy), so I doubt it will work with a service (since you have to run/install it). Personally, I never had any problems with it. If your drive becomes corrupted, then yes, it may happen that you lose the data, but that's why they … | |
Re: Is your profile information stored in a database ? If so, that would make looping much easier. | |
Re: Perhaps it is better if you provide a clear picture of what you are trying to achieve. Can you give a detailed example of what should happen with the values (without code). | |
Re: Just be glad they down voted, instead of down rep'ed... It means nothing. ![]() | |
Re: [QUOTE=ginG3R;1755642]do I have to own both domain names to be able to setup the redirect?[/QUOTE] Of course. | |
Re: This is too vague. Show you code and make it more clear what you have, and what you are trying to achieve. | |
Re: It's a bit messy for reading, but on line 17 is a fetch statement, that will make you miss the first record. | |
Re: 1) $_POST['color'] is an array, so you should use foreach. 2) You generate $sql_query (a string), but it is never executed (using mysql_query) | |
Re: [url]http://www.mediarelay.com/resources/item/1-sugarcrm-api-using-soapclient-the-php5-native-soap-implemtntation.html[/url] | |
Re: Is [URL="http://api.jquery.com/load/"]this[/URL] what you are looking for ? | |
Re: [url]http://www.delphi-central.com/tutorials/AlphaBlend.aspx[/url] | |
Re: Then don't show the calendar on every page. [url]http://wordpress.org/extend/plugins/calendar/installation/[/url] | |
Re: Why not read the [URL="http://www.w3.org/TR/html5/the-button-element.html#attr-select-multiple"]official documentation[/URL] instead of those websites. It states [iCODE]multiple[/iCODE] has to be set, it is a boolean attribute, so it does not need a value. | |
Re: For what reason do you want to try this in PHP. It is not really a good language to do this in. | |
| |
Re: Just posting to a PHP file doesn't show that page. The post function has a callback, which used, gives you the result of the page you post to. Then you can use Javascript/jQuery to do something with that. Have a look at the examples in [URL="http://api.jquery.com/jQuery.post/"]the manual[/URL]. | |
Re: And what if 30 is entered, followed by 02 after the hyphen... | |
Re: Your code currently works for one line, but it will give undesired results when you have multiple lines in your input. I think you'll want this: [CODE] $fh = fopen('uploads/datei.txt'); while(!feof($fh)) { $string = fgets($fh); $array = array (); // clear the array // you do not NEED to specify … | |
Re: What's your error ? (Please use code tags) | |
Re: You'll need to output your rows a little differently through PHP, add the id in the confirmation function: [CODE] <a href=# onclick='confirmation(1)'><img src='images/delete.png' alt='Delete' title='Delete' class='pngfix'></a> [/CODE] And then use this javascript: [CODE=javascript] function confirmation(id) { var answer = confirm("Delete Record?") if (!answer) { window.location = "by_hand.php"; } else { … | |
Re: You can use this construct: [CODE] if(isset($_POST['pica10']) && isset($_POST['sq1'])){ //... if(isset($_POST['pica14']) && isset($_POST['mq1'])){ //... if(isset($_POST['pica18']) && isset($_POST['lq1'])){ //... [/CODE] isset() checks if the given variable has an actual value. This will not show the notice you get. | |
Re: For code on emailing you can search this forum. A lot of examples can be found. If you are having specific problems, post the relevant code, and your question. | |
Re: Something like [iCODE]$(this).prev('tr').next('td').html()[/iCODE] | |
Re: This is another solution: [CODE] <?php $path = "media"; $dir_handle = @opendir($path) or die("Unable to open $path"); function list_dir($dir_handle, $path) { $result = array (); while (false !== ($file = readdir($dir_handle))) { $exclude = array(".", "..", "_player_thumbs", "Thumbs.db"); $dir = $path . '/' . $file; if (is_dir($dir) && !in_array($file, $exclude)) … | |
Re: Do we need to guess what you have ? | |
Re: If I just want to switch images in a div, I have my own jquery code. If it has be be a little more fancy, I use the [URL="http://jquery.malsup.com/cycle/"]cycle[/URL] plugin. For a photo gallery I use [URL="http://highslide.com/"]HighSlide[/URL]. Very flexible and excellent support. | |
Re: Every output you have, uses <tr></tr>, meaning a new row. You are trying to output on a per column basis, and that's not possible. You will need to change your query, so you will get your three values in each record, and then display them on a per row basis. | |
Re: [CODE] $filesource = $yt->newMediaFileSource("/var/www/localhost/htdocs/Jpeg2/movies/$THISMONTH-$THISYEAR.avi"); $filesource->setSlug("$THISMONTH-$THISYEAR.avi"); [/CODE] ![]() | |
Re: If it works on one router, and not the other, then maybe your code is using a callback method for verification (the server tries to call one of your pages for verification). If the first router has port forwarding enabled (it will forward the request), and the second doesn't, it … | |
Re: I use [URL="http://www.pritaeas.net/view/articles/portfolio-with-jquery"]my own[/URL] if it's simple, otherwise the [URL="http://jquery.malsup.com/cycle/"]cycle[/URL] plugin. | |
Re: Most likely there was an error, see [URL="http://www.php.net/manual/en/mysqli.error.php"]the manual[/URL] on how to check for them. | |
Re: I recommend using a tool like plUpload or Uploadify. | |
Re: I think you need to remove the colorscheme attribute for light (it's default anyway according to the button page). | |
Re: When rendering the form, you can generate any name you want for all the fields, and store them in a session variable. After submit, the submit file can read the names from the session and use them in a predefined order. After that reset the session, so those names will … | |
Re: If you search this forum, you will find several solutions. | |
Re: That can suffice for a very basic cms. If you want easy ways to add images or a html editor, then you may need some plugins (Example: TinyMCE, plUpload). | |
Re: Browsers won't allow you to do this, because of security issues. | |
Re: You'd probably have to use a scheduler (cron job) to check your database at regular intervals. For e-mailing I'd use PHPMailer. I can't tell you the flow of your program, that is something you'll have to define. | |
Re: Yes. Most browsers show the source of the initially loaded page (because that is what gets cached). If you use development tools, you can see what's happening live. | |
Re: DW current version is a heavily modded version of vBulletin. Depending on what you want, there are many more available, for example phpBB and SMF. You should write down the things you want to do, and compare each forum against that. Just install several on your local machine for testing, … | |
Re: [url]http://www.daniweb.com/web-development/databases/mysql/threads/401993[/url] | |
Re: If you process a form in the same file, you have to account for the fact that a user can press refresh, resending the form. That is less likely with a separate processing script. But of course, that can all be handles. I do not think one is much better … | |
Re: You'd need a PDF tool to convert your current HTML page to PDF. If you search this forum, you'll find references to some PDF tools. | |
Re: Another option would be to do it the other way around. Use SHOW COLUMNS on the table you are using, and check whether your POST variable actually corresponds to an existing table column. |
The End.