39,326 Topics
| |
Please tech gurus Help me ! Please help me urgent iam total newbie in MySQL and in PHP actually i want to auto generate user id if gender male selected in radio button than user id will be m00001,m00002,m00003..... like this, if gender female selected in radio button than user … | |
I've created a While loop that prints out the info of a MySQL table into a simple html table. This part works just fine. I've created a variable which has a prefix tableID and then adds the number of the row ID. ID is the primary key and row is … | |
I am creating a registration form for my web site. In my registration form, there are two select boxes to select user's district and there city. So I need to do it, when a user select their district then automatically display city select box with cities which relevant to above … | |
Hello, I just want to ask. Is it possible to do the insert and select in one time and in one form? I can't see any example of this problem. Can somebody help me? Thanks. | |
i have a form in html. when user hit sumbit. i want to run top php code. when i run it it give me 2 errors Notice: Undefined variable: _SESSION in C:\xampp\htdocs\login_test\register.php on line 134 Warning: array_key_exists() expects parameter 2 to be array, null given in C:\xampp\htdocs\login_test\register.php on line 134 … | |
sorry, i forgot to put php code. Parse error: syntax error, unexpected $end in C:\xampp\htdocs\login_test\register.php on line 152 line 152 is the last lne </form> <?php include("connect.php"); //grab submitted data if(isset($_POST['submit'])) { //grab submitted data $firstname = $_POST['firstname']; $lastname = $_POST['lastname']; $username = $_POST['username']; $password = $_POST['password']; $confirm_password = $_POST['confirm_password']; … | |
hi guys, well i am using .htaccess in my website to make SEO friendly urls.. the urls are supposed to look like this: http://localhost/home or http://locahost/singup it is working nicely.. the problem is when i came to makin forms.. how should i submit my forms?? the .htaccess takes all the … | |
Parse error: syntax error, unexpected $end in C:\xampp\htdocs\login_test\register.php on last line 2nd question. what is different between name, class, and id? if i just use id will it make difference? <form action="register.php" method="post"> <p id = "reg_error"></p> Firstname: <input class = "text" type="text" name="firstname"><br> Lastname: <input class = "text" type="text" … | |
Hi, every members, I am Nur, i want make a complete MLM site. i try to MLM Binary tree downline View on php code. it will be difficalt for me to make MySQL database or php coding. please help me any on. i add a link to example: 1) MLM … | |
need help with this. so in index.php i have a html tag <p id = 'login_error'></p> here(p tag) i want to print all the errors which are tested in login.php. in login.php i create a array called $error = array(); where has all the errors. in error_message.php iam printing all … | |
Hi everyone, I have been trying to code a facebook application using the API. Within this, I am required to include the base_facebook.php file. But I keep gertting an error Fatal error: Uncaught OAuthException: An active access token must be used to query information about the current user. thrown in … | |
I was wondering how many connections in parallel can one web socket handle? what i mean is if i made a chat socket and a million user connected to it at the same time, will it affect it in anyway? and if yes, what is the maximum number of connections … | |
Hi everybody, plz help me. how to create a own like button on my website.using php ,javascript or jquery | |
well I have this code, at first it was working perfectly....then a little modification just caused an error. I want to know what are the possible causes of this error Notice: Undefined index: CSM_blackmere_portside2_1 in C:\xampp\htdocs\PMS\F51-AI_insert.php on line 16 aside from, of course being defined .. i'm thinking of something … | |
Notice: Undefined index: HTTP_REFERER in C:\xampp\htdocs\cart\order.php on line <?php define('INCLUDE_CHECK',1); require "connect.php"; if(!$_POST) { if($_SERVER['HTTP_REFERER']) header('Location : '.$_SERVER['HTTP_REFERER']); exit; } ?> | |
Hi, I'm wondering if someone can help me with a problem I've been trying to solve for almost a week now which concerns shared ranking (i.e. whilst I am trying to rank things in order of one field, if two or more entries share the same value then they receive … | |
Notice: Undefined variable: _SESSION in C:\xampp\htdocs\dl\index.php on line 117 here;s the code: <?php if ($_SESSION['username']) echo "Hello ".$_SESSION['username']." â™”<a href='logout.php'> Logout </a> "; ?> | |
Strict Standards: Only variables should be passed by reference in C:\xampp\htdocs\cart\ajax\tips.php on line 8 | |
Hello: I have a bit of an interesting delima: I have a form with select box which is dynamically db populated and based on the first selection, additional data populates two other linked boxes (a input and a textarea). This process happens in a table row. here is the source … | |
Hi I currently have URL's looking like this when it is coming from a link: http://www.dev.xxxxxxxxxxxxxxxxxxxxxxxx.com/findanagent_details.php?recordID=4 I would like to hide the fact that recordID=4 How can I do this? Many thanks | |
I am creating a registration form for my web site. In my registration form, there are two select boxes to select user's district and there city. So I need to do it, when a user select their district then automatically display city select box with cities which relevant to above … | |
Hello all I am attempting to use PHP programming to execute a scripts to this link... http://ws.geonames.org/postalCodeSearch?postalcode=VARIABLE_ZIP&country=US. The VARIABLE_ZIP is the actual zip code entered into the form that will submit the information in the link above. The output of that link creates an XML page that i do not … | |
Hello I am having this codes: <?php // Add new book using DOM $dom = new DomDocument(); $dom->load("books.xml"); $book = $dom->createElement("book"); $book->setAttribute("isbn", "0973589825"); $title = $dom->createElement("title"); $text = $dom->createTextNode("php|architect’s Guide to PHP Design Patterns"); $title->appendChild($text); $book->appendChild($title); $author = $dom->createElement("author", "Jason E. Sweat"); $book->appendChild($author); $publisher = $dom->createElement("publisher", "Marco Tabini & Associates, … | |
in my index.php there is a <p> tag in form. i want to print errors there from login.php file. in login.php iam checking for 3 errors. is there a way i can print them in index.php in <p> tag? i was thinking may be i use an array in login.php? … | |
Good Morning... I was just wondering if it is possible to do a query based on the status of a record, and if one is found with the status of 'E'arned, then to return the relevant fields from that record while at the same time changing the status to 'P'laced... … | |
so i have a database set up. it has 3 fields. 1 is id, 2nd is uername, and 3rd is password. i already create a one username and password. in index.php for some reason it always goes inside else statment. and it skips the if part. -------------------- index.php -------------- <?php … | |
Hi guys, **I have this error :** Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most … | |
i need to build wedding card webased system...so i need to create a gallary for wedding card with card information. How to upload that picture into gallary and next time i can delete it back or update information about that picture information.. | |
Hi everyone, I have been trying to write a php script to display a div and its contents depening on a result from mysql. Inside the div is a basic input form etc, nothing special, some error & validation checking. What I would like to do is, to only display … | |
hey guys, got a job at a small IT company, i work with network, asterisk platform and developping tools for admins, operators and clients. i'm having a blast programming and the updates-patches are at nights, perfect for my vampiric personnality but ... i still consider myself a jr. man! there … |
The End.