- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 3
- Posts with Upvotes
- 2
- Upvoting Members
- 3
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
36 Posted Topics
[QUOTE=digital-ether;221215][B]Headers already sent[/B] refers to [B]HTTP Headers[/B]. The server cannot send any more http headers if the HTTP Content has started sending. In PHP code, this means you have ouput something to the page with echo or print etc. PHP will not output any whitespace in between php tags, However, …
What is the difference between Binary Semaphore & Counting Semaphore? What will be situation to prefer one from both of them?
#include <stdio.h> int main() { int a[0]; int b=2; printf("%X",a); return 0; } Where ever can we use 'a[0]' means array with index zero..
int main() { int theVar = 50; int* pntr= &theVar; int** mPntr = &pntr; int theVar2 = 10; int* pntr2 = &theVar2; pntr=(PntrFunc(mPntr)); mPntr=&pntr; return 0;
printf("Enter the input decimal sequence length\n"); **scanf("%d",&nchar); /* use 'nchar' Instead of 'ndec' ...your logic & program both will work.
Use char array for storing the String & Use for loop up to null character & in that check the space character & print.
Search with google for interview questions in C. On that website lot of questions are avialable,who has been asked for different companies interviews.
I think Joomla is better than drupal.Becoz ... Lot of Templates are avilable for that.
[CODE]<?php $username="root"; $password=""; $database="wapwap"; $date="test"; mysql_connect(localhost,$username,$password); @mysql_select_db($database) or die("Unable to select database"); $query = "INSERT INTO date VALUES ('','$date')"; mysql_query($query); mysql_close(); ?> [/CODE] Code With Simple Query..
Select * from Venue where idVenue != 1 and idVenue != 4 Your 1 and 4 is in different coloumn or same column? If 1 and 4 is in same column then,it is wrong query... Becoz it is never possible. other wise , you can use like that.... Select * …
Please explain the program Flow... means... What you want to do with this program???
Some Database Converters are alse available....You can use.... or you can export in csv format from mysql table and import in mssql table.
Refer "Complete Reference for C++" Book. Complete Reference Download Path.... [I]<<keep it legal>>[/I] You can search on Google....Lots of Books are available.... After knowing the Concepts , If you found any problem ,you can ask in Forum....!!!
Your Date is coming as a String.Due to this , it is displaying 0000-00-00. Solution is..... [CODE]$date=$_POST['Value1'];[/CODE] ---- This is the String. After taking the date value as a string convert the string with date format.
Please Explain the Problem??????? If You are using any workbench,then read care fully before click on Next Button.
I Think , You are asking for Normalization......... One time entry you can keep in one Table. means these fields 1.name 2.address 3.telephone no 4.email 5.educational qualification 6.college &&&&&& Another table will store according to first table primary key. In this table you can keep.Becoz,you are telling one person can …
$construct = "SELECT * FROM searchengine WHERE [B]$construct[/B]"; Problem is in this line. I think, $construct(Highlighted) will be not there.
Could someone assist me in the query. The table has type_of_vehicle field. [B]In this field I have A, B and M.[/B] [B]I would like to create a query where I can specify to select A and B, or A and M or A,B,M.[/B] Your question is not clear.... What you …
I want to use java Script Variable in PHP Code. For Ex... Var a=10; <?php Use JavaScript Variable.How ???? ?> How can I use this variale in php ??????????
[CODE]<?php $Query="INSERT INTO tbl_name". "(column, names, in, here) VALUES". "('$valueforcolumn', '$valuefornames', '$valueforin', '$valueforhere')"; ?>[/CODE]
Open the UGC Site .... You can found the all recognize and fake Universities also...
For execute the PHP Programs , Local server is needed. Like wampp,xampp etc... If you will install XAMPP for windows , Then You can put your php Program in htdoc folder(In Xampp,it is available). After that,Open any browser & type in addressbar [B]localhost/YourProgramName.php[/B] . Means first Need to install XAMPP …
First design Login Screen, Then Connect with database and after that validation will happen... So first do these things... I am giving Database Connectivity Code... [CODE]<?php // Login & Session example by sde // connect.php // replace with your db info $hostname="localhost"; $mysql_login="root"; $mysql_password="password"; $database="projco"; if (!($db = mysql_connect($hostname, $mysql_login …
Refer This Sample.... [CODE]CREATE TABLE IF NOT EXISTS `sample` ( `NAME` varchar(100) NOT NULL, `AGE` int(2) NOT NULL, `ADDRESS` text NOT NULL, PRIMARY KEY (`NAME`) ); -- -- Dumping data for table `sample` -- INSERT INTO `sample` (`NAME`, `AGE`, `ADDRESS`) VALUES ('Ankit', 25, 'Chennai');[/CODE]
Firstly do these things.... Create a client Script(means login screen) & database(which contains the User table). In between, if you found any problem..... put it here....
Code for fetching the more than one columns from table.... [QUOTE] $checkDuplicate = "SELECT * FROM '".$user."' WHERE product_id = '".$id."'"; $Result = mysql_query($Query); while($row = mysql_fetch_array($Result)) { $inCart = $row[0]; } $isCartSql = "SELECT COUNT(*) FROM '".$user."' WHERE product_id = '".$id."' AND in_cart = '1'"; $isCart = $conn->prepare($isCartSql); $isCart->execute(); …
After Submission , you can call again same(Initial) page.(You can redirect the previous page.
How user will enter the name? One by one or any other way? If User will enter one by one , apply mysql query in second file.
You can start php code from any where with this tag ( <?php Your php Code ?> ) and file extension must be .php. You can refer this site for Web development.(PHP,HTML,CSS etc.) [url]http://www.w3schools.com/php/php_if_else.asp[/url]
I am using ldap_connect function in phpmaker tool,but it is giving error like Fatal error: Call to [B]undefined function[/B] ldap_connect() in C:\xampp\htdocs\register\1v6\phpfn7.php on line 4127
Use Single Quotes for PHP Variables in mysql. i.e. '$username'
First ensure that , $resource is your query or query result. means $resource should be come after this statement. $resource=[B]mysql_query[/B]($Your_Query_String);
Firstly,You will fetch table from both server and store in temp table on any server(Where you want to create that combined table) and after that you can join that tables.
The End.
Ankit_Parmar