176 Posted Topics
Re: or you can use a single quote inside the double quotes [code] print "<meta http-equiv='refresh' content='0;URL=messagesent.html'>"; [/code] | |
Re: have you restarted your computer? | |
Re: Are you displaying the same results in the same order on your page? Is it one result or a list? If the display is different you can create another query, if its the same just set it to a var. [code=php] if($var=='games'){ //do something } [/code] | |
Re: here is a long and hectic procedure available to restore the registry so that we can use System restore to roll back out system to the time when it was working fine !! How to recover from a corrupted registry that prevents Windows XP from starting [url]http://support.microsoft.com/?kbid=307545[/url] If u can … | |
Re: just looking but dont you want to set the model year to the value between the H's? [code=php] $ModelYear=substr($decode,5,1); switch ($ModelYear){ Case 0: break; Case 1: break; Case 2: //Display Skylark echo "Skylark"; break; } [/code] | |
Re: looking in your db i noticed that you do not have any orders in February. This will be one reason why you cant pull anything from the first query. change the date to 6/2/2008 and BAM its full of data [code=sql] SELECT Customer.*, Order.* FROM Customer INNER JOIN [Order] ON … | |
Re: im looking at the code and im not recognizing your ++$_SESSION['test']. What is this doing? if the session is set you are setting the session to ++ correct? Could this be why you are having the problems? What happens if you comment this area out? | |
Re: paypal is hiding their file extension. you want to hide your extensions or create a new paypal? | |
Re: they can also get your operating systems id and post it to your game account. there are many different ways to mark a computer. | |
Re: Have you made sure that this nic is enabled? | |
Re: try this link and page out. great for referencing... [url]http://www.java2s.com/Code/VB/Database-ADO.net/Database-ListView.htm[/url] | |
Re: You are looking for Joins. This link is a good starting point. [url]http://www.w3schools.com/Sql/sql_join.asp[/url] | |
Re: You can set IIS up for your Intranet Server [url]http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.express.doc/info/exp/ae/tins_manualWebIIS.html[/url] | |
Re: you want to test your javascript and make sure the variables are set correctly. print your vars on the page to confirm the info is correct. | |
Re: you will want to create different tables. one for stores, brands, categories, products. Table Store: Store_ID, Store_Name, Location. Table Brand: Brand_ID, Brand_Name. Table Categories: Cat_ID, Cat_Name. Table Product: Prod_ID, Brand_ID, Cat_ID, Prod_Name, Price, Details. you can add other tables like store inventory. this way everything will be seperate but still … | |
Re: Sounds like you got it right. I had ran into the same problem. I had created the random password and inserted that into the db as their password. Sent them a link including and identifier (reset.php?indent=12345). When the user clicks on this link they will go to the reset page. … | |
Re: Change $_REQUEST to $_POST. i have tested and should pull all info | |
Re: would it be easier to only let the user select a date instead of insert? maybe change the textboxes to comboboxes and in the form load event do something like this: [code=vb] Dim y As Date y = Date.Today Dim i As Integer Dim x As Integer x = 0 … | |
Re: The first code is setting the name of the image. Are you keeping your images in a Link database? If you are you can query your db with the $_GET: [code=php] $imagename = $_GET['type']; $imageinfo = mysql_query("SELECT ID FROM Images WHERE Image_Name = '".$imagename."'") or die(mysql_error()); $info=mysql_fetch_array($imageinfo); $imageid = $info['ID']; … | |
![]() | Re: you can find the information and example (10th user post down by DHKold) here: [url]http://us3.php.net/imagecreate[/url] |
Re: you are pulling from all rows in the db. your variable will only display the last rows info. but yes that should work for using that var later in the page. | |
Re: Suhacini's code looks good but a small typo i think [code=php] $res=mysql_query($str); [/code] change to: [code=php] $res=mysql_query($sql); [/code] | |
Re: Do you have an example? Not sure what type of situation you are referring to. | |
Re: you can store the data in the db but you definatly need to encrypt. i would suggest not even storing it personally. But that is just me. | |
Re: at the end of your while loop you can add an insert with your $row['PriceID'] and variables. this will insert every record from the first table adding your 2 extra values | |
Re: i have used something as easy as in the click event where you add your data on the second form just add [code=vb.net] frmOther.refresh [/code] | |
Re: the reason you are getting this error is because all headers must be sent before anything is displayed. moving the php code to the top of the script may take care of your problem. | |
Re: this is downloadable code from microsoft that will help with understand how to talk back and forth to your serial port products. [url]http://www.microsoft.com/downloads/details.aspx?FamilyID=075318ca-e4f1-4846-912c-b4ed37a1578b&DisplayLang=en[/url] | |
Re: been a while since i have dealt with joomla but i beleive you should have modules in your admin area that you can place your static text in. there are modules that will display articles. this will move the article to the location you place your module. off the top … | |
Re: i have set the sql connection info in the registry and when the user installs this on their machine they can change it in a form. ill try explaining the best i can. when the user opens the program have it check with the load event to make sure the … | |
Re: first what is block? variable? you can try removing the quotes too since it is numeric maybe something like this: [code=php] if($block>99.9){ echo $var1; }elseif($block>199.9){ echo $var2; } //and so on [/code] | |
Re: if you will look at the first user contributed note one this page it gives an example of sending multiple attachments in an email. [url]http://us3.php.net/function.mail[/url] | |
Re: will the user be able to access other pages to display more information? if this is the case you can set the id into a session. also with letting the users know this number and depending on the information stored this could a security risk.? could have the user login … | |
Re: and all the faith i had in nav33n. im crushed lol. i have taken a look into sql injection and from what i have seen you are doing it correctly (i think). | |
Re: it doesnt look like your mailserver settings are correct in your php.ini file. this article will help you with this setup. [url]http://www.sitepoint.com/article/advanced-email-php[/url] | |
Re: would it be easier to do this in a while loop? [code] $query = "SELECT STOCK_CODE FROM STOCKS WHERE STOCK_CODE = '$stock_code'"; while($row=mysql_fetch_assoc($query)){ echo "<tr>\n"; echo "<td>"; echo $row['STOCK_CODE']; echo "</td>\n<td>"; echo $row['STOCK_NAME']; echo "</td>\n<td>"; echo $row['PRICE']; echo "</td>\n"; echo $row['QUANTITY_AVAILABLE']; echo "</td>\n"; echo "</tr>\n"; } ?> </table> [/code] just … | |
Re: I like this calendar. Has different ways to implement and you can mark special days. very useful. Al ot of documentation on the site as well. [url]http://www.dynarch.com/demos/jscalendar/[/url] | |
Re: you can use a wildcard after your var [code] $query = mysql_query("SELECT * from table WHERE name LIKE '"$_GET['p']"%' ORDER BY name ASC") or die(mysql_error()); [/code] | |
Re: im guessing that you are setting this count whenever the user does something that you are counting. in the beginning of the page couldnt you include a file that contains [code] if($count >= 500){ header("maxpage.php"); } [/code] but then again i am not sure how or what you are counting. | |
Re: if you are using xampp on a windows machine you need to set it up like this: [code] [mail function] ; Setup for Windows systems SMTP = smtp.my.isp.net sendmail_from = me@myserver.com [/code] on a linux server [code] [mail function] ; Setup for Linux systems sendmail_path = /usr/sbin/sendmail -t sendmail_from = … | |
Re: i have done this with radio buttons im sure the same will work with the drop downs in the form add your radio button [code] <input type="radio" value="Vista" name="os"><label>Vista</label> [/code] then when you have your form send the info to the php script you can call it like this [code] … | |
Re: you can do something like this: [code] <marquee scrollamount="2" onmouseover="this.scrollAmount=0" onmouseout="this.scrollAmount=2"> <?php $query = mysql_query("select this from that where this = that") or die(mysql_error()); $row=mysql_fetch_assoc( $query ); echo $row; ?> </marquee> [/code] | |
Hello I have been working on this script for a little while. All is working good(get all information into the xml). But I am needing to have the php code add an image to the xml for download. If anybody as any ideas i would greatly appreciate it. I have … | |
Re: you can use your basic email [code] bool mail ( string $to , string $subject , string $message [, string $additional_headers [, string $additional_parameters ]] ) [/code] and in the "string $to" visit this page for different cell providers email as text message info [url]http://www.email-unlimited.com/stuff/send-email-to-phone.htm[/url] | |
Re: Is there anything special you need to do with these once you have located the files? | |
Hello, I have created a form that needs to work like a stop watch. The user enters the time (hrs, min, sec) then clicks the start time. I have a label that should display the time remaining. This works great when I am displaying everything as seconds. When I try … |
The End.