516 Posted Topics

Member Avatar for nikesh.yadav

Do you really need multiple stylesheets? I've found that you just need one that works on all browsers. This sounds simple, but it's not. Here are some tricks: 1.) Validate with W3C 2.) Reset margin and borders to 0 at the beginning of the stylesheet. Then redefine if necessary. 3.) …

Member Avatar for buddylee17
0
89
Member Avatar for Scooby08

Datetime is in the [icode]YYYY-MM-DD HH:MM:SS[/icode] format so, Friday, August 28, 2015 at 8:00PM would be: 2015-08-28 20:00:00

Member Avatar for buddylee17
0
105
Member Avatar for slw613

Well here's how to add a link to the gallery. Obviously, you'll have to make a gallery.html page, otherwise you'll get a page not found error. Change: [code=html] <td><img src="images/index_06.jpg" width="87" height="16" alt=""></td>[/code] To [code=html] <td><a href="gallery.html"><img src="images/index_06.jpg" width="87" height="16" alt="gallery"></a></td>[/code]

Member Avatar for MidiMagic
0
97
Member Avatar for sTyleSHA

I believe Silverlight is Microsoft's attempt in gaining part of Adobe's Flash market. It's still in a very early stage and whether it will stand the test of time is unknown. What's for sure is that both Flash and PHP have stood that test.

Member Avatar for khipucoder
0
156
Member Avatar for Mylena
Member Avatar for Dukane

Change the mode parameter on line 20 to r: [code=php]$fp = fopen($path, 'R');[/code] should be: [code=php]$fp = fopen($path, 'r');[/code]

Member Avatar for Dukane
0
1K
Member Avatar for AliHurworth

[URL="http://html-color-codes.info/"]HTML color codes[/URL] already has prebuilt tables for this.

Member Avatar for AliHurworth
0
143
Member Avatar for ramseswar
Member Avatar for asyieen
Member Avatar for Demiloy
0
164
Member Avatar for Scooby08

Initialize a variable. Then increment the variable by the value in the cell: [code=php] <?php $price=''; for($i=0; $i<5; $i++){ $price +=$i; } echo "Price=$price";// will output Price=10 ?> [/code]

Member Avatar for buddylee17
0
97
Member Avatar for arulkkumar

This sounds like project management software. Are you asking about an open source alternative to MS Project? If so, check out [URL="http://www.openworkbench.org/"]Open Workbench[/URL]

Member Avatar for buddylee17
0
101
Member Avatar for Tony0930

Use a decent database (not Access) and make sure that the server hard drive has enough space to support the pics.

Member Avatar for HI2Japan
0
84
Member Avatar for skinbug

You could either concatenate all of the values and store them in one field or you could create three fields to store each value separately.

Member Avatar for skinbug
0
485
Member Avatar for adaykin

Try changing:[code=html]<BODY BGCOLOR="#FFF3E6" LEFTMARGIN="0" TOPMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0" onLoad="MM_preloadImages('images/webrollovers_musicrollover.jpg','images/webrollovers_aboutrollover.jpg','images/webrollovers_giverollover.jpg','images/webrollovers_volunteerrollover.jpg','images/webrollovers_linksrollover.jpg','images/webc_search.jpg','images/webc_searchspace.jpg','images/webrollovers_contactrollover.jpg','images/webrollovers_homerollover.jpg')"> [/code] to [code=html] <BODY BGCOLOR="#FFF3E6" LEFTMARGIN="0" TOPMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0" onLoad="MM_preloadImages('images/webrollovers_musicrollover.jpg','images/webrollovers_aboutus.jpg','images/webrollovers_giverollover.jpg','images/webrollovers_volunteerrollover.jpg','images/webrollovers_linksrollover.jpg','images/webc_search.jpg','images/webc_searchspace.jpg','images/webrollovers_contactrollover.jpg','images/webrollovers_homerollover.jpg')">[/code]

Member Avatar for adaykin
0
150
Member Avatar for lydia21

Something of a side note, while most clients will let you send them html email, most will replace attributes if they have quotes (single or double) surrounding them. So if you want to send [code=php]$body2.="<table width='850px' border='0' align='center' cellpadding='0' cellspacing='0' style='vertical-align:top;'>"; [/code] you'll have to get rid of those single …

Member Avatar for buddylee17
0
143
Member Avatar for veledrom

The script should look something like (notice I substituted your variables in): [code=php] $mail = new PHPMailer(); //SMTP begin $mail->IsSMTP(); // set mailer to use SMTP $mail->Host = "mail.myhost.com"; // specify main and backup server $mail->SMTPAuth = true; // turn on SMTP authentication $mail->Username = "myName"; // SMTP username $mail->Password …

Member Avatar for veledrom
0
101
Member Avatar for Jean Gwyneth

There are a number of converters. I'm not sure how good any of them work but you can find them[URL="http://www.google.com/search?q=asp+to+php"] here[/URL].

Member Avatar for Jean Gwyneth
0
122
Member Avatar for justinmyoung

It should be something like: [code=php]$query = "SELECT * FROM runners WHERE first_name ='".$name."' OR last_name='".$lname."'"; [/code]

Member Avatar for mcd
0
106
Member Avatar for toadzky

Also, see [url]http://www.daniweb.com/forums/thread136175.html[/url] on how to set up the connection string for accdb.

Member Avatar for buddylee17
0
86
Member Avatar for veledrom

Just by breezing over the code, it looks like you are trying to update one row with two or more values. If so, you'll have to concatenate them before the update.

Member Avatar for veledrom
0
281
Member Avatar for justinmyoung

Why are you echoing all of that html? If you don't have dynamic data, don't waste the server and users time parsing. After the form element, Add a php delimiter to let the server know not to parse anything else. [icode]echo "<form action='$regScript' method='$formMethod' name='form'>"; ?> [/icode]

Member Avatar for Shanti C
0
293
Member Avatar for ochien

You should be able to use exec to run a shell command to register the DLL.

Member Avatar for ochien
0
62
Member Avatar for theBond

Use as many variables as necessary. Just write statements that restrict access based on user level. Example:[code=php] if($_SESSION['user']=="Super Admin"){ echo "Welcome Super Admin"; //allow Super Admin to do whatever } else{ header ('location:index.php?your_not_allowed_in_here');//do a redirect if access is not allowed } [/code]

Member Avatar for Shanti C
0
82
Member Avatar for god_1896

Have you looked into php's mail function? [icode]mail($to, $subject, $message, $headers);[/icode]

Member Avatar for Shanti C
0
138
Member Avatar for OmniX

Flash would be the easiest (in my opinion), because it is widely used and results in a very small file in comparison to animation supportive graphics like .gif. All of the ads you see on this page are Flash. You could also use Flash with PHP or PHP with JavaScript …

Member Avatar for OmniX
0
125
Member Avatar for t_3010503

You can start off by learning that JavaScript is not Java. Java is an in-depth software language. JavaScript is a webdevelopment language that runs on the client.

Member Avatar for sciwizeh
0
113
Member Avatar for gruve

Are you trying to modify the second select element based on the first element choice? If so, php doesn't have this capability by itself. Remember, php runs and executes from the server. JavaScript runs and executes from the browser. Php, by itself, cannot modify the current loaded page. It needs …

Member Avatar for buddylee17
0
71
Member Avatar for 2eXtreme

I believe [URL="http://www.eephp.com/"]PHP Excel Explorer[/URL] can read the cell styles. I looked into it a while back and wound up not needing it.

Member Avatar for buddylee17
0
83
Member Avatar for Reliable

Does anyone know how to integrate PHPlist with an already existing form on their website? No I have never messed with a pre made mailing list, but I can explain how to use a flash movie to insert users into an existing mysql mailing list. HOw do I make a …

Member Avatar for Reliable
0
86
Member Avatar for veledrom

Use an onchange event in the select element. The event should trigger a function which makes an AJAX request to the server side script performing the query. If the request returns an output, it will perform another function to populate the other select element using innerhtml. You can find many …

Member Avatar for buddylee17
0
89
Member Avatar for PomonaGrange

The script above performs a query but doesn't output anything. You will need an output from the script to populate the suggestions. What does the demo script look like?

Member Avatar for PomonaGrange
0
186
Member Avatar for god_1896

For your "broser problem" Probably [icode]<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />[/icode]

Member Avatar for god_1896
0
97
Member Avatar for asyieen

If you have more than 2 forms strung together, you should look into using a session array to store all the form information. The reason why I say this is that POST data is good from one page to another, but relies on hidden variables to pass it any further.

Member Avatar for buddylee17
0
65
Member Avatar for rich_m

I've done this for an RSS feed. It queries the db, populates variables, and outputs everything as xml. [URL="http://www.ibm.com/developerworks/xml/library/x-phprss/index.html#c2"]Here[/URL] is the link.

Member Avatar for rich_m
0
85
Member Avatar for JaceDBN

Yes, Access can communicate with asp, asp.net, php, jsp, and coldfusion. Figure out which one's your web server supports and move forward from there. Also, Access may not be enough for the job. It works great for small projects but if this is no small project you may want to …

Member Avatar for buddylee17
0
73
Member Avatar for marjan_m

You can try to connect through Internet Explorer. Go to [url]ftp://yourdomainname.com[/url] (or .net or .org...) A login screen will appear.

Member Avatar for hooinsider
0
123
Member Avatar for MDGM

Most good encryption methods don't have simple decryption. However, if something simple will work, you can use [URL="http://us2.php.net/manual/en/function.base64-encode.php"]base64_encode[/URL] and [URL="http://us2.php.net/manual/en/function.base64-decode.php"]base64_decode[/URL].

Member Avatar for MDGM
0
169
Member Avatar for rich_m

You shouldn't compare the two. It's like comparing a school bus (Oracle) to a Corvette (MySql). Oracle can deliver tons of data in a reasonable amount of time consistently. MySql can deliver smaller amounts of data in a much faster time consistently. How big is the db and how frequent …

Member Avatar for buddylee17
0
189
Member Avatar for jbooth952
Member Avatar for DrWhoFan

Yes, for instance if you use GET method. Any server side script that can use the GET method to retrieve variables from the url can also process them. Same with post. Any script that can retrieve variables from the POST array can process them. And regardless of the script, it …

Member Avatar for buddylee17
0
55
Member Avatar for veledrom

You can use a reset button. [code=html]<input type="reset" />[/code] Alternatively you could use JavaScript: [code=JavaScript] document.forms[0].reset() [/code]

Member Avatar for saikishore
0
131
Member Avatar for dudegio

Excel is basically tab delimited. Basically, in between columns add a "\t" to insert a tab to let excel know that the first column is finished and the second column should start. To start a new row, add a "\n" to force excel to put the next data in a …

Member Avatar for buddylee17
0
280
Member Avatar for emiola

Most [QUOTE]database-administartors[/QUOTE] don't use MySql unless it is coordinated with open source (php or java) scripts/languages. In these cases ODBC is not necessary. If MySql won't work with a .net or coldfusion server, who cares. You have enough cash to shell out for a "closed source" server. You might as …

Member Avatar for tesuji
0
149
Member Avatar for shakti786

[QUOTE]how i can make a user registration window to make user registered with the site[/QUOTE] You'll have to create a form with the fields you require included. This form will have to be submitted to a server side script(php, asp, coldfusion, jsp...). Then the script will send the form information …

Member Avatar for shakti786
0
67
Member Avatar for atplerry

Most problems with inserts have to do with the use of quotes in queries and datatypes. Do any of the fields in the query have a numeric datatype? If so, they will not require a single quote around them in the query.

Member Avatar for PomonaGrange
0
98
Member Avatar for Vasudev1

Check out the Dynamic Drive [URL="http://www.dynamicdrive.com/dynamicindex2/cmarquee2.htm"]Cross Browser marquee[/URL]. I have used it before in conjunction with php and mysql. Basically, you create a form which posts to the server which updates the db and dynamically pulls the newest information first.

Member Avatar for buddylee17
0
126
Member Avatar for cork

What version of php are you using? I believe if it is below 5 then you'll have to replace all instances of private with public.

Member Avatar for buddylee17
0
120
Member Avatar for oyadbaba

For data security, avoid sql injection by using stored procedures, data validation, and any other means that you can expend. Also, use secure socket layers for any sensitive information that the user may view or enter and use secure shell instead of ftp for moving your files to and from …

Member Avatar for buddylee17
0
90
Member Avatar for marjan_m

You can do whatever you want with JavaScript. JavaScript runs on the users machine, is under complete control of the user, and the user can disable it (easily). While disabling right click or print screen will keep the average user at bay, it will not stop someone who understands what …

Member Avatar for marjan_m
0
649
Member Avatar for bmarshall.0511

[QUOTE]Alright so after many people asking me to post the login script I use for my site at locatestyle.com, I made two functions. [/QUOTE] Who asked you to post this?

Member Avatar for buddylee17
0
95

The End.