39,323 Topics
| |
Hello all, I need to extract data from a website, say for eg. Buy.com's Electronics category and save it either in MS excel. I tried looking for the code over the internet, but this wasn't properly explained anywhere. Please help me. | |
Hi how can I assign html body tag contents into php variable then use it as the body of email | |
hi, pls help me the following if feasible. 1. i have a file "tax.php" <TR> <td ALIGN = "left" valign = "top"> <b>ABC</b> <br> --ABC BG<br> <u>Address- </u>123 main st. Suite 307, Flushing, NY 11354<br> <u>Phone </u>111-11-11<br><u>Email</u>- [email]SOMEONE@DOMAIN.COM[/email]</td> <td ALIGN = "left" valign = "top"> <b>ABC</b> <br> --SDFS BG<br> <u>Address- … | |
Hey guys, I understand how to setup the cron job to run once a day. Now I am having trouble putting together a function to do the following: I need to delete all content (rows) automatically where the "expire_date" field is equal to or greater than todays date. Keep in … | |
Is there any way for me to get a .php file to open in a web browser without a server? | |
| Hi everyone. I am trying to work on a script that will ban a user from accessing my website for x amount of time. Here is the html and sql code. [B]HTML[/B] [CODE]<?php $date = 'd-m-Y'; $endDate = strtotime($date); ?> <tr> <th>Length of Ban</th> <th>:</th> <th> <select name="period"> <optgroup label="Temporary … |
blem I have a probem with my api signup page, the below code $this->obsConfig.... is not working i think it is outside a call but not sure how to put it in a class anyone know how to wrap this up? [code] $this->obsConfig['apiCall'] { ='AddUser.do'; $command = ""; if (!isset($obsAccount['username'])) … | |
Hi everyone, Edited: So I figured out how to show the submit buttons. My next question is how to incorporate a security measure like html_entities in the action of the form? [CODE] <?php require ("core/config.php"); $tablevaluegetter = mysql_query("SELECT * FROM ratingsystem WHERE typeofsite='somthingtorate' ORDER BY ratetotal DESC"); echo "<table border='1'> … | |
hi guys, i want to express the data which is extracted from database in a table in the following fashion item1 item2 item3 item4 item5 item6 item7........... ............itemn dynamically but i can express either row wise or column wise but not as shown above please help me with the code … | |
Hi, I hope someone here can help me with this problem. I want to create a button in my site such that when it's pressed, the site database will be exported to an excel file. The codes to export database I got works fine but when I try to merge … | |
in a database for a company,what technology is best for enabling for examples certain staff memebers to make bookings/access the database from any location using a **Browser**? how do i implement this and how can i make it work? please HELP! p.s i have been researching and thinking creating a … | |
i need help with a project im working on. im writing a task manager for school, and lets say i have a section for the due-date. How would i write a calendar that pops up like in Google tasks or phpmyadmin when you go to insert a date. thank you. | |
Hi all my friend. i am new in PHP .i am working on open source job portal . i want to ad a common feature dynamical registration from . so that any one can ad any field in registration from from admin. Please Help me do do that . If … | |
hi, Php developers , need a help here. how to make php shortuts in [code]%shortcuts%[/code] or [code]:shortcuts:[/code] ? I know only a shortcut of [code]$shortcut[/code] But this is not usefull . Thanx in advance :) | |
i need help with something lets say i had a url: [url]http://domain.com[/url] and it was supposed to go to the page [url]http://domain.com/loggedin.php?goto=hi[/url] how would i make it so in the browsers url bar, it only says [url]http://domain.com/?goto=hi[/url] | |
when I visit some websites I see that their menu bar seem to be a single bar (like an image ) with some demarcations but once you move the mouse over it that part only changes into another color to indicate that the mouse points to that link.How is this … | |
I am writing a script to register users, but I want to add an incrementing suffix to each duplicated name. The script works and posts to the database. On entering a name for the first time, everything is OK, but when I enter a duplicate name from then on, the … | |
Hi there, I have developed (with some invaluable and greatly appreciated help!) a comment box using Java script (see bottom of this page [url]http://www.antobbo.webspace.virginmedia.com/webediting/documents.htm[/url]) but I would like now to be able to receive comments via email. At the moment if you click on the comment button it opens the … | |
Okay so I set up a registration form and everything goes well when registering but when I go and check in MySQL database the row is created but only the id field is filled not the First Name, Second Name, Email and Password. Here's the .PHP for processing the registration … | |
Was curious how to validate a phone number input field? Currently I am requiring that the phone # format be (5555555555) so that i can simply say if(is_numeric($phone_num)) so then when i retrieve it from DB i must manipulate the string to format it properly"(555)555-5555" But i was thinking it … | |
hi all, i am integrating facebook to my website so that user can login into facebook and get his photos from facebook to my website.. so how can i do that can anyone help me.. Thank u.. | |
Hi all, We are having problems in the shopping cart created. It says "Shopping cart" is empty some pc's but on some pc's it is functioning properly. The shopping cart is working from my side but from client side (on client's pc's) it is some pc's working and some pc's … | |
Hello, How to call a function on form submission. Thanks | |
help me plzzzz.. mine got problem.. [CODE]<?php $Ticket_No = $_POST['Ticket_No']; ?> <form enctype="multipart/form-data" method="post" action="daily_update.php?id=<?php echo $Ticket_No ?>"> <table width="50%" border="1" cellspacing="3" cellpadding="0"> <br> <tr> <td align="center"><strong>Status</strong></td> <td align="center"><strong>Asignee </strong></td> </tr> <?php require 'connectDb.php'; $query = "SELECT * FROM daily WHERE Ticket_No= $Ticket_No"; $result = mysql_query($query,$db); var_dump($result); die(); //$result = … | |
Edit: I fixed the problem! Someone please delete this or something! | |
Hi.. I had successfully connected MySQL database usng ADODB.But I could not connect Using PostgreSQL database with ADODB.I had used the following code for connection. [CODE] <?php include("adodb/adodb.inc.php"); $db = NewADOConnection('postgres'); $c=$db->Connect("localhost", "postgres", "postgres", "dbname"); $db->debug = true; if(!$c) { echo "not connected"; } else { echo "successfully Connected"; } … | |
[CODE]echo ("<tr bgcolor='B0C4DE'>"); $value=$row['idbook_code']; $author=$row['b_author']; $book=$row['b_name']; echo ('ISBN : '.$row['idbook_code'].'<br/>'); echo ('Title : '.$row['b_name'].'<br/>'); echo ('Author : '.$row['b_author'].'<br/>'); echo ('Books Available : '.$row['b_avail'].'<br/>'); if($row['b_avail']>0) { if (!$_SESSION["valid_user"]) { // User not logged in, redirect to login page echo("Available".'<br/>'); }else { echo("<input type='hidden' name='idbook' value='$value'>"); echo("<input type='hidden' name='author' value='$author'>"); echo("<input type='hidden' … | |
hey , yesterday i installed fresh apache and php in CentOs 5.5 pc , my problem is my php is not working well ,, every time showing errors .....how i solve this error please help me ... for eg: while i run a simple code snippet [CODE]<?php echo "php execution … | |
I have a Mysql database and I am trying to import multiple records with multiple columns into Flash AS3 using PHP. My problem is I am able to make it work with a single column and multiple records but for multiple columns I am not being able to format it … | |
im trying to create a form that redirects the user to anther page and also stores the information in the database. here is the code [CODE]<?php mysql_connect("localhost", "DBname", "Password") or die(mysql_error()); mysql_select_db("DBname") or die(mysql_error()); // Retrieve all the data from the table $result = mysql_query("SELECT * FROM players") or die(mysql_error()); … |
The End.