This repository was archived by the owner on Mar 31, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdata.php
More file actions
57 lines (51 loc) · 1.41 KB
/
data.php
File metadata and controls
57 lines (51 loc) · 1.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?php
include('Admin/includes/connectionPool.php');
$obj = new connectionPool();
// include_once('noentry.php');
$sql_set = "select info_key,info from info_tbl";
$res = mysql_query($sql_set);
$chk = 0;
while($result = mysql_fetch_array($res))
{
if($result['info_key'] == "app_development")
{
$app_development = $result['info'];
}
if($result['info_key'] == "web_development")
{
$web_development = $result['info'];
}
if($result['info_key'] == "design_and_more")
{
$design_and_more = $result['info'];
}
if($result['info_key'] == "description")
{
$description = $result['info'];
}
if($result['info_key'] == "contact_email")
{
$contact_email = trim(stripslashes($result['info']));
}
if($result['info_key'] == "smtp_username")
{
$smtp_username = trim(stripslashes($result['info']));
}
if($result['info_key'] == "smtp_password")
{
$smtp_password = trim(stripslashes($result['info']));
}
if($result['info_key'] == "contact_phone")
{
$contact_phone = $result['info'];
}
}
$sql = "select * from member_tbl";
$members = mysql_query($sql);
$members1 = mysql_query($sql);
$sql = "select * from project_tbl";
$result = mysql_query($sql);
// $projects = mysql_fetch_array($results)
while($projects[]=mysql_fetch_array($result));
$text = split(';', $web_development);
?>