Member Avatar
Topic by vishalonne in Software Development
c++


#include<iostream>

using namespace std;

int main()
{
int a[3][3]={1,2,3,4,5,6,7,8,9},s=1,x=1;
cout<<"\nThe orignal Array is :\n ";
for(int i=0; i<3; i++)
{
for(int j=0; j<3; j++)
{
cout<<" "<<a[i][j];
}
cout<<endl;
}
cout<<"\nThe Alternats Elements are : "<<endl;

for(int i=0; i<3; i++)
{
for(int j=0; j<3; j++)
{
if(x==1)
cout<<" "<<a[i][j];
else … Reply by abhay_7
Member Avatar
abhay_7 Joined the Community
Member Avatar
Addisu_2 Joined the Community
Member Avatar
Dominic_2 Joined the Community
Member Avatar
kerrfhmqa125 Joined the Community
vicky_9 Joined the Community
Member Avatar
De_1 Joined the Community
Member Avatar
Alexandra_3 Joined the Community
nuasgjsds125 Joined the Community
Member Avatar
NA Replied To a Post in calendar
Topic by NA in Web Development
i want to display date in navigation bar(next and previous) using oracle database in php Reply by NA
ceuwxgpzx Joined the Community
Member Avatar
Muhammed Salim Joined the Community
Member Avatar
AndrisP 168 Replied To a Post in how to submit my data
Topic by NA in Web Development
You can select by country name but it is not good practice

echo "<option value=\"".$row['NAME']."\">".$row['NAME']."</option>"; Reply by AndrisP
Member Avatar
Best_2 Joined the Community
Member Avatar
Raj_23 Joined the Community
Member Avatar
Rahman_4 Joined the Community
Member Avatar
NA Replied To a Post in how to submit my data
Topic by NA in Web Development
e.g.
1. i select country_name from dropdown list (AUSTRALIA)
2. open new page.php ans its show like that
country name: AUSTRALIA
Capitical: ___________
City1: ____________
City2:___________
City3:____________
these all information pick from oracle database table country_detail Reply by NA
Member Avatar
NA Replied To a Post in how to submit my data
Topic by NA in Web Development
i want to dispaly all data in new page.php which i was selected country name from dropdown list Reply by NA
Member Avatar
Pritam_3 Joined the Community
Member Avatar
NA Edited calendar
i want to show calendar in php show in image below connected to oracle database table. ![ywub5.png](/attachments/large/4/10022dd703908aa37616b34022b15f64.png "align-center") Topic by NA in Web Development
Member Avatar
NA Created calendar
i want to show calendar in php show in image below connected to oracle database table. ![ywub5.png](/attachments/large/4/10022dd703908aa37616b34022b15f64.png "align-center") Topic by NA in Web Development
Member Avatar
AndrisP 168 Replied To a Post in how to submit my data
Topic by NA in Web Development
Select also ID of country.

<tr> <td>Country Name</td> <td> <select name="countryID"> <?php
$conn = oci_connect("username", "pswrd", "db");
$sql = 'SELECT id,name FROM country';
$stid = oci_parse($conn, $sql);
$success = oci_execute($stid);
while ($row = oci_fetch_array($stid, OCI_RETURN_NULLS+OCI_ASSOC))
{
echo "<option value=\"" . $row['ID'] . "\">" . $row['NAME'] . "</option>";
}
?> Reply by AndrisP
Member Avatar
Leif_1 Joined the Community
Member Avatar
hi everyone
i need help in my query which is that:
1.which country name i selected from my dropdown list
2.when i select any country_name its show more info in new page.php like (this selected name show more information about country_name e.g. its captical, and cities through database in new … Topic by NA in Web Development
fsuczgueb125 Joined the Community
Member Avatar
AndrisP 168 Replied To a Post in Select from database on submit
Topic by random_1 in Web Development
php
Use of `&` inside REQUEST variable is not good idea. I suggest replace to `and` but if you realy want to use it then use as `&amp;` Reply by AndrisP
Member Avatar
Reverend Jim 2,058 Edited SQL question
Hi,

I have a problem where I need to search on data set with 5 fields.

Field 1 - Account number
Field 2 - Date
Field 3 - Person1
Field 4 - Person2
Field 5 - Person3

The data sat contains two months of data (November and October).

I need … Topic by thomas_43 in Programming
Member Avatar
benanamen 45 Replied To a Post in Select from database on submit
Topic by random_1 in Web Development
php
You dont do anything with the result so of course it is blank. Reply by benanamen
Member Avatar
benanamen 45 Replied To a Post in SQL question
Topic by thomas_43 in Programming
Your DB design is incorrect. You need to learn about *Database Normalization*. Reply by benanamen
Member Avatar
Hello. I have a sorting list which is populated with the different "types" and when a "type" is chosen the images along with corresponding info should be displayed but instead the page is blank with no error. I have another sorting which is more or less the same for sorting … Topic by random_1 in Web Development
php