8,966 Posted Topics

Member Avatar for tahirkhanafridi

[CODE=SQL] SELECT * FROM person WHERE fullname = 'tahir' LIMIT 1 UNION SELECT * FROM person where fullname <> 'tahir' ORDER BY fullname ASC [/CODE]

Member Avatar for pritaeas
0
169
Member Avatar for tabish saroha
Member Avatar for pritaeas
0
47
Member Avatar for jbennet
Member Avatar for ravi52542
Member Avatar for ghostonline2020

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.

Member Avatar for pritaeas
0
181
Member Avatar for bradhal

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 …

Member Avatar for Rashakil Fol
0
190
Member Avatar for caltech
Member Avatar for caltech
0
155
Member Avatar for bflack

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).

Member Avatar for scaiferw
0
131
Member Avatar for M.Waqas Aslam

Just be glad they down voted, instead of down rep'ed... It means nothing.

Member Avatar for diafol
1
169
Member Avatar for ginG3R

[QUOTE=ginG3R;1755642]do I have to own both domain names to be able to setup the redirect?[/QUOTE] Of course.

Member Avatar for JorgeM
0
929
Member Avatar for mackyflores

This is too vague. Show you code and make it more clear what you have, and what you are trying to achieve.

Member Avatar for sDJh
0
78
Member Avatar for programmer12

It's a bit messy for reading, but on line 17 is a fetch statement, that will make you miss the first record.

Member Avatar for programmer12
0
203
Member Avatar for shamed

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)

Member Avatar for pritaeas
0
122
Member Avatar for swilliamrobert

[url]http://www.mediarelay.com/resources/item/1-sugarcrm-api-using-soapclient-the-php5-native-soap-implemtntation.html[/url]

Member Avatar for pritaeas
0
247
Member Avatar for trektrak
Member Avatar for pritaeas
0
63
Member Avatar for DelphiGuy
Member Avatar for pritaeas
0
469
Member Avatar for pras0784

Then don't show the calendar on every page. [url]http://wordpress.org/extend/plugins/calendar/installation/[/url]

Member Avatar for pritaeas
0
104
Member Avatar for cartergarth

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.

Member Avatar for pritaeas
0
120
Member Avatar for Soben

For what reason do you want to try this in PHP. It is not really a good language to do this in.

Member Avatar for pritaeas
0
154
Member Avatar for fredy91
Member Avatar for pizzipie

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].

Member Avatar for pritaeas
0
204
Member Avatar for dineshswamy
Member Avatar for apa3

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 …

Member Avatar for apa3
0
248
Member Avatar for ak47carbon
Member Avatar for anita_86

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 { …

Member Avatar for anita_86
0
173
Member Avatar for morthea

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.

Member Avatar for morthea
0
283
Member Avatar for tubesnube

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.

Member Avatar for Biiim
0
303
Member Avatar for divsok
Member Avatar for bobgodwin

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)) …

Member Avatar for bobgodwin
0
243
Member Avatar for YASHASHYA
Member Avatar for torbatt

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.

Member Avatar for torbatt
0
245
Member Avatar for sality63

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.

Member Avatar for sality63
0
177
Member Avatar for Dingo001

[CODE] $filesource = $yt->newMediaFileSource("/var/www/localhost/htdocs/Jpeg2/movies/$THISMONTH-$THISYEAR.avi"); $filesource->setSlug("$THISMONTH-$THISYEAR.avi"); [/CODE]

Member Avatar for diafol
0
135
Member Avatar for Dingo001

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 …

Member Avatar for pritaeas
0
180
Member Avatar for zack654

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.

Member Avatar for pritaeas
0
61
Member Avatar for irfansweb
Member Avatar for klemme

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.

Member Avatar for klemme
0
203
Member Avatar for Chub97
Member Avatar for McLaren

I think you need to remove the colorscheme attribute for light (it's default anyway according to the button page).

Member Avatar for McLaren
0
201
Member Avatar for Ender330

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 …

Member Avatar for pritaeas
0
350
Member Avatar for zack654
Member Avatar for n3xtgen

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).

Member Avatar for subrata_ushasi
0
147
Member Avatar for affordacall
Member Avatar for Gaurav Bindal

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.

Member Avatar for pritaeas
0
39
Member Avatar for cartergarth

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.

Member Avatar for pritaeas
0
184
Member Avatar for us0343

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, …

Member Avatar for pritaeas
0
185
Member Avatar for gkbush

[url]http://www.daniweb.com/web-development/databases/mysql/threads/401993[/url]

Member Avatar for pritaeas
0
110
Member Avatar for anthonyjpv

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 …

Member Avatar for anthonyjpv
1
207
Member Avatar for imonbayazid

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.

Member Avatar for chrishea
0
85
Member Avatar for asprin

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.

Member Avatar for FreeGeezer
0
275

The End.