450 Posted Topics

Member Avatar for bdcd
Member Avatar for jencinas69

Looks like this should work. [URL="http://www.php-mysql-tutorial.com/perform-mysql-backup-php.php"]http://www.php-mysql-tutorial.com/perform-mysql-backup-php.php[/URL]

Member Avatar for jencinas69
0
113
Member Avatar for greeny_1984

This should do it. [URL="http://javascript.about.com/library/blbrsdet.htm"]http://javascript.about.com/library/blbrsdet.htm[/URL]

Member Avatar for R0bb0b
0
104
Member Avatar for tirivamwe

My opinion: real php programmers don't use frameworks, they build their own through time. Anytime I need a new widget, I build a class and add it to my library.

Member Avatar for mexabet
0
105
Member Avatar for justinmyoung

put in more die functions. [CODE=php] <?php // Include connection to your database $con = mysql_connect("localhost","root","") or die(mysql_error());; mysql_select_db("RUNNERS", $con) or die(mysql_error()); $name = $_POST['first']; $query = "SELECT * FROM runners WHERE id =".$name; $result = mysql_query($query) or die(mysql_error());?> <table class="sortable"> <!-- Table Header --> <thead> <tr> <th>ID #</th> <th>First …

Member Avatar for mustafaneguib
0
231
Member Avatar for Lavendor

if you are using mysql, there should be plenty of examples here: [URL="http://us.php.net/manual/en/function.mysql-connect.php"]http://us.php.net/manual/en/function.mysql-connect.php[/URL]

Member Avatar for Shanti C
0
90
Member Avatar for bmarshall.0511

I hope you are validating that password. $username = "blahblah"; $password = "blah' or '2' = '2" if not, I could log in with just that.

Member Avatar for buddylee17
0
95
Member Avatar for xylude
Member Avatar for madjax

[QUOTE=madjax;654317]Hi Not sure if I am in the right place to ask this question,but here goes If a customer goes on my site to buy something via my paypal button and it comes up.....You do not have permissions to make this API call.... where is my problem,what have I not …

Member Avatar for R0bb0b
0
55
Member Avatar for phouse512

This should answer your question [URL="http://us3.php.net/manual/en/function.fread.php"]http://us3.php.net/manual/en/function.fread.php[/URL]

Member Avatar for phouse512
0
112
Member Avatar for lydia21

I usually use tineMCE, which looks like it does exactly the same thing. If you want to do that I can help you with that, but chances are they have enough documentation and examples that you won't need my help.

Member Avatar for R0bb0b
0
116
Member Avatar for ishlux
Member Avatar for Shanti C
0
57
Member Avatar for blufab

the array looks right to me, I do know that the keyword "var" is used to declare variables in classes. This doesn't look like a class so delete those "var"s.

Member Avatar for R0bb0b
0
112
Member Avatar for vaish.rajan

[CODE=php] <? $pages = array(); for($i = 0; $i < 20; $i++) { $page = $i; if($page < 10) { $page = "0" . $page; } $pages[] = $page; } ?> <select name="selPage" id="selPage"> <? foreach($pages as $page) { ?> <option<? if(strpos($_SERVER['HTTP_REFERER'], $page . ".htm") !== false) { echo ' …

Member Avatar for R0bb0b
0
78
Member Avatar for jay29982
Member Avatar for itdupuis

Professionally? I would say my first IT job. I had been in the process of redeveloping a manufacturer to end user E-commerce site with several manufacturers, each one being different and having their own scheme. The site was originally done in asp, then OS Commerce(if you've never had to work …

Member Avatar for sittas87
0
205
Member Avatar for aas1212

With no knowledge, someone's going to end up with the short end of the stick. Which is what happened to me, but I think I'm better off because of it.

Member Avatar for peter_budo
0
80
Member Avatar for Shanti C

first, get the "Web Developer" add on for firefox, then go to [URL="http://www.i-spy360.com/spins/spin6/Spin360.html"]http://www.i-spy360.com/spins/spin6/Spin360.html[/URL] and use the "Web Developer" option called "View Javascript" under the information tab. Then you can see how they do it. ignore the google analytics portion it actually looks relatively simple.

Member Avatar for Shanti C
0
109
Member Avatar for nemom

The only way that I know of to fire a php file is to open it, generally with a browser. If you go directly to a .pdf file, I have no idea how a php script will be able to detect this action. You could create a php file and …

Member Avatar for nemom
0
88
Member Avatar for crazy.works
Member Avatar for neclark2

You can use html tables and colspan and rowspan define the number cells. width doesn't work.

Member Avatar for R0bb0b
0
68
Member Avatar for Jr Telecom

think it means that your script ended abruptly. PHP is probably expecting you to do something on the bottom of the script. Maybe missing a "}".

Member Avatar for buddylee17
0
386
Member Avatar for jonpfl

Javascript(or ajax) stops processing once the user navigates away from the page, always. The backend script will continue on the server but the javascript that outputs the header to the user once the ajax responds back will stop. I suggest openning it in a new window, and using some type …

Member Avatar for jonpfl
0
142
Member Avatar for ishlux
Member Avatar for R0bb0b
0
88
Member Avatar for Madawa

[CODE=javascript] document.getElementById("element id").innerHTML += "table data"; [/CODE] are you using "=" instead of "+="?

Member Avatar for Madawa
0
95
Member Avatar for ishlux

On line 22 just do this [CODE=php] $result = mysql_query($query2) or die(mysql_error()); [/CODE] and the error should tell you exactly what's wrong.

Member Avatar for R0bb0b
0
104
Member Avatar for awaida

its just a hidden div [icode]<div style="display:none" id="divlogin"><!-- login content here --></div>[/icode] you can change the display value with [code=javascript] document.getElementById("divlogin").style.display="none"; and document.getElementById("divlogin").style.display="block"; or document.getElementById("divlogin").style.display="inline"; [/code]

Member Avatar for awaida
0
94
Member Avatar for anuj_sharma

There are numerous ways you can do it. You can have one variable specifically for the previous value. So just before you assign a new value to the textbox, assign the current value that is in the textbox to your history variable, then insert the new value into the textbox. …

Member Avatar for R0bb0b
0
84
Member Avatar for justted

Try this and if the answer still isn't apparent, post the results. [CODE=php] <?php $rank_check = 1; $page_title = "Training Center"; include "header.inc.php"; echo $openHTML; print "<p align='center'><b>Training Center</b></p>"; If ($_POST['attack_selected'] == 'yes'){ $res1 = mysql_query("SELECT * FROM user_pets2 WHERE id='".$_POST['pet_id']."' AND owner = '$userid' AND adoption = '0' AND …

Member Avatar for R0bb0b
0
197
Member Avatar for mustafaneguib
Member Avatar for eagled2

[QUOTE=eagled2;651458][code] UPDATE profile SET group = '2' WHERE uid = '2' [/code][/QUOTE] group is a keyword, use `group`

Member Avatar for R0bb0b
0
272
Member Avatar for snoopy85

[QUOTE=snoopy85;651552]What I was thinking at first was I wouldn't want too many records in a single table and having different months' table for each purchases and sales table would make it much neaty.[/QUOTE] Guess that just depends on your personal definition of neat. But take it from someone who creates …

Member Avatar for R0bb0b
0
100
Member Avatar for headfirst

Try eliminating one problem at a time. create a page with just this code in it and refresh it several times, if it resets to zero then you have a problem, if not, I'm pretty sure that it is not a problem with the session. [CODE=php] <? session_start(); if(!isset($_SESSION['sesstest']) || …

Member Avatar for R0bb0b
0
170
Member Avatar for eagled2

see if this works added value to disabled checkbox added check if disabled isset and = disabled added if db disabled "checked='checked' " [CODE=php] <?php session_start(); include 'config.php'; include 'opendb.php'; include("login.php"); echo '<link rel="stylesheet" type="text/css" href="profile.css">'; echo '<center><div id="page"><img src="images/profhead.gif" width="955" height="90" /></center>'; if($logged_in){ loggedgroup(); if($_SESSION[grptype] == 'Admin' or $_SESSION[grptype] …

Member Avatar for eagled2
0
94
Member Avatar for kishor_agrawal

Don't know how reliable it is but [URL="http://www.dcs.uwaterloo.ca/~anderson/JavaScript/ex_load_unload.html"]http://www.dcs.uwaterloo.ca/~anderson/JavaScript/ex_load_unload.html[/URL]

Member Avatar for R0bb0b
0
117
Member Avatar for parsface.com
Member Avatar for nschessnerd

this is funny Your the only one on the list. [URL="http://www.google.com/search?hl=en&q=telnet+%22-ERR+protocol+error+16%22&btnG=Google+Search"]http://www.google.com/search?hl=en&q=telnet+%22-ERR+protocol+error+16%22&btnG=Google+Search[/URL] I'll keep my eyes open. [QUOTE=nschessnerd;650647]or something...[/QUOTE] is "-ERR protocol error 16" the exact error?

Member Avatar for nschessnerd
0
209
Member Avatar for sbuggle

[QUOTE=sbuggle;650720]I need detailed examples of how to create a pdf from jsp[/QUOTE] This is the javascript forum, not Java.

Member Avatar for peter_budo
0
97
Member Avatar for websurfer

Try other ftp applications. If those also take a long time, try another pc or contact your server admin to see if the problem can be duplicated. If the problem can be duplicated in other locations then it must be on the server's end, or something [B]very[/B] strange is going …

Member Avatar for websurfer
0
89
Member Avatar for Venom Rush

if your talking about the function time() and a unix timestamp 1 = 1 second

Member Avatar for Venom Rush
0
104
Member Avatar for ishlux

Here is an example of a where clause and how to use it [URL="http://www.w3schools.com/php/php_mysql_where.asp"]http://www.w3schools.com/php/php_mysql_where.asp[/URL]

Member Avatar for R0bb0b
0
74
Member Avatar for R0bb0b

When posting, I recommend making the code tag a drop down just like the smiley. The code tag drop down would then require the user to select a specific type of language.:)

Member Avatar for nav33n
0
147
Member Avatar for MDGM

Since "_" is an invalid character for a domain, does that mean that you will never have an underscore in the any of the form entity names? if so, you could try this [CODE=php] foreach($_POST as $key=>$value) { $_POST[str_replace("_", ".", $key)] = $value; } print_r($_POST); echo "<br />" . $_POST['.co.uk']; …

Member Avatar for MDGM
0
181
Member Avatar for OmniX
Member Avatar for R0bb0b
0
128
Member Avatar for ghostrecog

Think I made just one adjustment and it works now. [CODE=javascript] <html> <head> <title>swapimage</title> </head> <script> var arr=["img/wysiwyg_buttons/bold.gif","img/wysiwyg_buttons/italic.gif","img/wysiwyg_buttons/strike.gif"]; i=0; function swap() { document.images[0].src=arr[i]; i++; if(i==3) i=0; setTimeOut("swap()",5000); } </script> <body bgcolor="white"> <marquee behaviour="alternate" direction="left" onClick="swap();"><img src="img/wysiwyg_buttons/link.gif" > </marquee> </marquee> </body> </html> [/CODE] After I moved the onclick event, it worked …

Member Avatar for Troy III
0
165
Member Avatar for gargg321

This is how you get the length of a string. [code=javascript] var stringlen = stringvarname.length; [/code] BTW: its all html when it hits the browser

Member Avatar for gargg321
0
169
Member Avatar for ishlux

I guess if you really wanted a solution, you'd use [code] tags. Do you get an error on the third page after submitting from the second. Had you tried a [ICODE]print_r($_POST);[/ICODE] just to see what is being posted?

Member Avatar for Shanti C
0
149
Member Avatar for xaippo_script

[QUOTE=xaippo_script;645832][CODE] <label for="nameField">Enter your name: <input type="text" size="28" id="nameField"> </label> <input type="submit" value="Sumbit"/> <br /> <div></div> </form> [/CODE][/QUOTE] OK, the first thing that comes to mind, and let me know if I'm just missing something, but where's your opening form tag?

Member Avatar for R0bb0b
0
132
Member Avatar for Diode

What I would do is use sessions in the scripts that the ajax calls are referencing. When you refresh your current page, those sessions will then reflect the last file, or set of files(depending on how complicated your ajax application is) and you can populate your javascript with the php …

Member Avatar for R0bb0b
0
166
Member Avatar for rjrasmussen

Don't know if this helps but this would be the correct way to do it in php: [CODE=php] $query = "SELECT odb_members.id, odb_members.user_lvl, odb_members.name_first, odb_members.name_middle, odb_members.name_last, odb_members.addr_state FROM odb_members WHERE odb_members.user_lvl = 1 AND odb_members.addr_state='" . mysql_real_escape_string($_SESSION['sessvar1'], $dbconn) . "'";[/CODE]

Member Avatar for R0bb0b
0
78

The End.