8,966 Posted Topics

Member Avatar for andrewliu

You are adding to the string $construct, even though it has not yet been initialized. If you want to get rid of the notice, add [icode]$construct = '';[/icode] before the if.

Member Avatar for silviuks
0
185
Member Avatar for teedoff

What is in Navicat's log at the bottom of the import wizard ? Can you post all the lines that are in there ?

Member Avatar for teedoff
0
487
Member Avatar for hindu times
Member Avatar for hindu times
0
143
Member Avatar for rahul_galgali

Smarty is a template engine for PHP. Read the [url=http://smarty.incutio.com/?page=SmartyFrequentlyAskedQuestions]FAQ[/url] first.

Member Avatar for HemantPHP
0
150
Member Avatar for arxh
Member Avatar for Ankit_Parmar

See this thread: [url]http://www.daniweb.com/forums/thread296192.html[/url] You cannot use javascript inside php like that, because one runs on the client, the other on the server.

Member Avatar for rajarajan2017
0
210
Member Avatar for vijayamani

[code] SELECT * FROM tablename WHERE iss_date <= 2010-06-15 ORDER BY iss_date DESC LIMIT 1 [/code]

Member Avatar for vijayamani
0
103
Member Avatar for Kellyst
Member Avatar for vibhaJ

According to some threads on stackoverflow, there was at some point a detection method available, but at the skype website there is no trace of it. However, if skype is not installed, then you will get a popup that you need it.

Member Avatar for vibhaJ
0
830
Member Avatar for whiteyoh

I would extend the function showHint to accept two more parameters: the first being the php file to call, and the second the elementId to update. That way you can keep using the same function.

Member Avatar for pritaeas
0
83
Member Avatar for LRNPHP

You code does nothing when no results are returned. That is why you get a blank screen. Before the for loop you should check if you have zero rows. If so, then the login is incorrect and you can return to the login screen using the header() function. There is …

Member Avatar for LRNPHP
0
477
Member Avatar for baudday

Technically I think that [url=http://www.sohtanaka.com/web-design/examples/image-rotator/]this example[/url] comes quite close. Of course you'd want the image to change on hover instead of click. The [url=http://designm.ag/tutorials/image-rotator-css-jquery/]tutorial[/url] shows you how you can do similar things. I think it will get you started nicely.

Member Avatar for Jayavardhan
0
107
Member Avatar for mariko

If with text you mean content, than no. CSS is for styling only. Don't know how your site is built and what technologies you use, but some kind of templating would solve your problem.

Member Avatar for mariko
0
141
Member Avatar for EvolutionFallen

I've tried this, and it works. [code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>test</title> <meta http-equiv="content-language" content="en" /> </head> <body> <a id="print" href="#" title="Print map">Printable version</a> <script type="text/javascript" src="jquery-1.4.2.min.js"></script> <script type="text/javascript"> var oldsrc = "1"; var newsrc = "2"; $(document).ready(function() …

Member Avatar for EvolutionFallen
0
96
Member Avatar for Smudly

Can't you just do this ? [code] UPDATE userstats SET wondaily=NOW(), credits=credits+500 WHERE `todaysurfed`>=250 AND DATEDIFF(NOW(),`wondaily`) > 30 OR `wondaily`='0000-00-00' ORDER BY rand() LIMIT 3 [/code]

Member Avatar for karuppasamy
0
97
Member Avatar for _mike_

All the .js and .css files can be viewed on that site. So, using firebug or any other tool, you should be able to determine what it does. Aside, it uses a carousel plugin for scriptaculous or prototype apparantly.

Member Avatar for pritaeas
0
187
Member Avatar for cristi08

What is not working ? Do you see an error ? Post the query as it is echoed (line 23).

Member Avatar for rajarajan2017
0
79
Member Avatar for vidyaputra

[QUOTE=nav33n;1058843] And when you say phpmydirectory, are you talking about phpmyadmin or something else ?[/QUOTE] I'm guessing you're trying to install this ? [url]http://www.phpmydirectory.com/[/url] Did you contact their support ?

Member Avatar for Ezzaral
0
201
Member Avatar for kirtan_thakkar
Member Avatar for braveheart_sb

[code] <?php include("connection.php"); $sql ="SELECT curso_name,curso_periodo FROM curso"; $query = mysql_query($sql); echo '<select name="primeira_opcao">'; while ($row = mysql_fetch_array($query)) { echo '<option value="' . $row['curso_name'] . '">' . $row['curso_name'] . '</option>'; } echo '</select>'; ?> [/code]

Member Avatar for braveheart_sb
0
154
Member Avatar for aneeka

If you want a specific option to be the selected one, you must add [icode]selected="selected"[/icode] to the option tag, not the select tag. You code would look something like this: [code] $activeSelected = ($status == 'Active') ? "select='selected'" : ''; $resignedSelected = ($status == 'Resigned') ? "select='selected'" : ''; echo …

Member Avatar for rajarajan2017
0
140
Member Avatar for kings_mitra

Hearing these responses about voting to close etc. Sounds like daniweb should migrate to StackExchange ;)

Member Avatar for ~s.o.s~
0
311
Member Avatar for aMOEBa

Found this tip when displaying birthdays in this week. It's to avoid an easy trap. [url]http://www.issociate.de/board/post/166481/MySQL_Week_function.html[/url]

Member Avatar for pritaeas
0
151
Member Avatar for rolsen

[code] <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:pi4="http://www.callassoftware.com/namespace/pi4"> <xsl:output method="html"/> <xsl:template match="results/hits"> <xsl:for-each select="hit"> <xsl:value-of select="@page"/> </xsl:for-each> </xsl:template> </xsl:stylesheet> [/code] (I think)

Member Avatar for rolsen
0
144
Member Avatar for srdva59

[url]http://www.highslide.com/ref/hs.htmlExpand[/url] From what I read you should omit contentId. If this is not the case, try the highslide forum, they are quite responsive and helpful.

Member Avatar for Pedro José
0
773
Member Avatar for Rockpile

Perhaps one of these answers will help: [url]http://stackoverflow.com/questions/1717844/how-to-determine-delphi-application-version[/url]

Member Avatar for Rockpile
0
982
Member Avatar for Muazam

[url]http://php.net/manual/en/functions.arguments.php[/url] See the first user comment. The syntax means that the first parameter is a type or class called openable.

Member Avatar for Muazam
0
85
Member Avatar for pbcomput
Member Avatar for alex4700

Appears to be correct. Without your code it will be hard to tell. Do you check for errors (mysql_error()) ?

Member Avatar for cwarn23
0
128
Member Avatar for canadian_angel

Perhaps you have no rights to delete a user. You can try to revoke all rights for the user, the effect would be the same.

Member Avatar for d5e5
0
147
Member Avatar for dan_ord

Last post from OmniX has the answer. Next time, start a new thread instead of bumping an old one.

Member Avatar for kyawswarthant
1
203
Member Avatar for meo_spt

Perhaps this: [url]http://phpmailer.worxware.com/index.php?pg=tip_gmail[/url]

Member Avatar for meo_spt
0
781
Member Avatar for Ajuddy

Apparently, according to the error, your file is missing. So something must have changed.

Member Avatar for almostbob
0
144
Member Avatar for JRM

Being a DMOZ editor I can confirm that the signup process is a bit weird. Just take three relevant new links for the section you want to edit and provide good descriptions for them. If they are not good enough, they will reject you, but not always mention what is …

Member Avatar for Lecee Lery
0
121
Member Avatar for keval_hack

I think this is the PHP timeout of phpMyAdmin. So you can either change the php.ini and increase the timeout, or import the file directly into MySQL throught the command line.

Member Avatar for tesuji
0
2K
Member Avatar for rajeesh_rsn
Member Avatar for nick3592

I've done PHP professionally in a former job, but am now doing ASP.NET/C#. From a programmer standpoint I like it much better, as the language is strict, no variable types and such. In my opinion the change will indirectly improve your php coding too.

Member Avatar for almostbob
0
213
Member Avatar for aosoro

What happens if you try something simpler like: [code] $output = `ls`; echo "<pre>$output</pre>"; [/code] Still no output ? Is safe-mode enabled, or shell_exec disabled ?

Member Avatar for omol
0
86
Member Avatar for racertim

The python solution at coderholic seems to be the most viable one. It only requires python and a running X. If you manage your own server, than it could be done. However if you use a hosted server, you won't have X running.

Member Avatar for pritaeas
0
439
Member Avatar for amrita86
Member Avatar for pritaeas
0
42
Member Avatar for Silvershaft

According to the docs, ajax() has but one parameter. Yet, you are passing two. [code] $.ajax({ type: "POST", url: "check.php", data: "username=" + username + "&password=" + password, success: function(data) { $('#error').html(data); }, error: function() { alert('failure'); } }); [/code]

Member Avatar for pritaeas
0
92
Member Avatar for shubhamjain1
Member Avatar for logodesign
Member Avatar for Mukt@R
Member Avatar for Lusiphur

I don't think I would. This could backfire since they can determine when the posts were made, perhaps during working hours ...

Member Avatar for pritaeas
0
179
Member Avatar for musthafa.aj
Member Avatar for Dcurvez
0
97
Member Avatar for benhowdle89

Of course it is possible. You need to use .text() or .html() to get to the table cell value. Comparing a selector to a value won't work.

Member Avatar for benhowdle89
0
110
Member Avatar for mangel.murti

See the info on the following functions: [url]http://php.net/manual/en/function.opendir.php[/url] [url]http://php.net/manual/en/function.filemtime.php[/url] [url]http://php.net/unlink[/url]

Member Avatar for mangel.murti
0
162
Member Avatar for aqhulcus

You cannot combine javascript and php like this. First, the javascript is not outputted correctly. Second, even if it was, javascript is not executed on the server (like php) but on the client. These languages have no knowledge of each other.

Member Avatar for aqhulcus
0
272
Member Avatar for soss2726

display should be background This thread belongs here: [url]http://www.daniweb.com/forums/forum143.html[/url]

Member Avatar for scrappedcola
0
97

The End.